Hello. I am not sure if I am sending this message to the proper place.
In this case, I would be grateful for a reply telling me which this
proper place may be.

I wrote a macro for OpenOffice 1.1.4 that used a sentence like the
following:
  encontrado = dispatcher.executeDispatch(document,
".uno:ExecuteSearch", "", 0, busqueda())
to perform a text search in a document and get a boolean value (stored
in the boolean variable encontrado) to check whether the search was
successful or not.

This macro does not work in OpenOffice 2.0. Apparently
dispatcher.executeDispatch(document, ".uno:ExecuteSearch", "", 0,
busqueda())
does not return a boolean value any more (a mismatch of variable type
error seems to appear).

Could anyone tell me which kind of value (if any!) is returned by this
procedure in OpenOffice 2.0? How can I get now the boolean value I used
to get in Open Office 1.1?

Please note in any reply that I am not a developer but a novice user and
amateur macro writer.

Thanks for any reply.
-- 
Miguel Quirós Olozábal
Departamento de Química Inorgánica. Facultad de Ciencias.
Universidad de Granada. 18071 Granada. SPAIN
email:mquiros<at>ugr<dot>es
      mquiros<arroba>ugr<punto>es

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to