Discussion:
Invoking macros via toolbar items: where does the argument come from ?
Rony G. Flatscher
2011-05-25 10:25:07 UTC
Permalink
Hi there,

if executing a macro via "Tools -> Macro -> Run" there is no argument
supplied to the script.

However, if running the same macro via a toolbar item, an argument is
supplied, which seems to have always a value of "0" (false?). Where does
this argument come from and what is its purpose, where can one find the
documentation for this?

TIA,

---rony
--
-----------------------------------------------------------------
To unsubscribe send email to dev-***@api.openoffice.org
For additional commands send email to ***@api.openoffice.org
with Subject: help
Ariel Constenla-Haile
2011-05-25 15:41:14 UTC
Permalink
Hello Rony,
Post by Rony G. Flatscher
Hi there,
if executing a macro via "Tools -> Macro -> Run" there is no argument
supplied to the script.
However, if running the same macro via a toolbar item, an argument is
supplied, which seems to have always a value of "0" (false?). Where does
this argument come from and what is its purpose, where can one find the
documentation for this?
there is an explanation in
http://openoffice.org/bugzilla/show_bug.cgi?id=85298#c3


Regards
--
Ariel Constenla-Haile
La Plata, Argentina
Rony G. Flatscher
2011-05-25 15:52:17 UTC
Permalink
Hi Ariel,

thank you *very* much for this link which explains the situation!

Unbelievable what you find (and know), kudos !

Best regards,

---rony
Post by Ariel Constenla-Haile
Hello Rony,
Post by Rony G. Flatscher
Hi there,
if executing a macro via "Tools -> Macro -> Run" there is no argument
supplied to the script.
However, if running the same macro via a toolbar item, an argument is
supplied, which seems to have always a value of "0" (false?). Where does
this argument come from and what is its purpose, where can one find the
documentation for this?
there is an explanation in
http://openoffice.org/bugzilla/show_bug.cgi?id=85298#c3
Regards
--
-----------------------------------------------------------------
To unsubscribe send email to dev-***@api.openoffice.org
For additional commands send email to ***@api.openoffice.org
with Subject: help
Loading...