When a macro runs from a shortcut or a widget button, a trigger is registered that can be tested for. However when a macro is run from the drawer or Quick run, no trigger is registered. This makes testing the various methods of invocation more cumbersome as I have to either test for all other triggers not to be true (process of elimination) or I have to sequentially test for the overt triggers and then if one is true mark a boolean variable as "True" then have a last test to see if the variable is "False".
It would be much easier if the method for Invoking the macro was always recorded somewhere and testable.
Thanks
It would be much easier if the method for Invoking the macro was always recorded somewhere and testable.
Thanks