how to specify false booleans in Macro.setOptions

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

how to specify false booleans in Macro.setOptions

Albert Cardona
I am in wonder. I'm trying to use GenericDialog macro magic (i.e. not
show it). I can specify checkboxes from generic dialogs to be 'true' by
simply adding the name to Macro.setOptions() . But how to specify that
it's false? The macro recorder simply omits the name, but doing so
brings up the dialog.

I have tried a '!' to negate the name, but doesn't work unfortunatelly.
I've peaked into the code of the GenericDialog and all indicates that if
Macro.getOptions is non-null and all non-boolean variables are not
empty, the dialog will not be shown. And yet it shows!

Any hints appreciated

Albert