Posts: 109
Threads: 45
Joined: Mar 2007
I have a scope function that
in some windows runs MacroA
in some windows runs MacroB
elsewhere does nothing
Can I create an exe of this (I don't have Pro Version)
the trigger is F12 so I don't want it running everywhere
it creates and exe and corresponding dll
it errors with "Error (RT) in F12_Scope: invalid pointer"
thank you
Posts: 331
Threads: 60
Joined: May 2006
Could you post some code please.
Posts: 12,097
Threads: 142
Joined: Dec 2002
It is a filter function? Triggers and filter functions don't work in exe.
Posts: 109
Threads: 45
Joined: Mar 2007
oh,
thanks Gintaras
yes it was a filter and I wanted to use its trigger.
aarrgg
only launching the exe directly can do it? and it can't regard what windows are open or any other circumstance? that renders most of my macro library useless in exe format.
as an alternative, if the user has qm installed and running, is there any way to lock/hide the macro code/interface?
if not, this is NUMBER ONE, on my wish list.
thanks again Gintaras
Posts: 12,097
Threads: 142
Joined: Dec 2002
Quote:only launching the exe directly can do it? and it can't regard what windows are open or any other circumstance? that renders most of my macro library useless in exe format.
Yes, you have to launch exe manually or using some other program, eg task scheduler, or from a toolbar etc. Then macro running in exe itself can check conditions. Use win, wintest or other functions at the beginning to check conditions.
Quote:as an alternative, if the user has qm installed and running, is there any way to lock/hide the macro code/interface?
Look in Options -> Security.