07-05-2007, 06:10 AM
If a macro is disabled, why can it still be called from other macros?
using version 2.2.0.11
using version 2.2.0.11
Just say HEMP!
Bug with disabled macros?
|
07-05-2007, 06:10 AM
If a macro is disabled, why can it still be called from other macros?
using version 2.2.0.11
Just say HEMP!
07-05-2007, 06:22 AM
It disables only trigger that is set in Properties. Also if using command line. In code, can be used this:
int iid=qmitem("macro name") if(!dis(iid)) mac iid ;;run the macro if not disabled
07-05-2007, 07:11 AM
Just for testing purposes, sometimes I just want to quickly disable and re-enable a macro.
I found instead, however, a quick renaming of the macro I don't want to run is a lot easier than your proposal. Thanks.
Just say HEMP!
07-05-2007, 12:33 PM
also put in 'end' on the first line :wink:
07-05-2007, 02:58 PM
Can you give an example of what you mean by 'end' on first line?
Just say HEMP!
07-05-2007, 03:00 PM
07-05-2007, 03:13 PM
If the macro is launched using mac, or a trigger, or Run button, ie not called as function, you can also use " /" in the first line.
-- When you rename the macro, you should get error with mac. Don't know what method you use to launch the macro. |
« Next Oldest | Next Newest »
|