Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
create exe out of scope function
#1
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
#2
Could you post some code please.
#3
It is a filter function? Triggers and filter functions don't work in exe.
#4
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
#5
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.


Forum Jump:


Users browsing this thread: 1 Guest(s)