Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BLOCKING WINDOWS
#1
Im trying to block a certain window from opening when I run a macro.

give me an example with "win1".. what code do I need in the macro to keep "win1" from opening up while macro is running.

I take it you have to open the window once and return the window handle and then block that window from opening up again untill macro is stopped.
but i have no clue how to do that..help me.

thanks, nate
#2
well, i dont think you can keep it from being created but you can close it asap with a trigger that goes off with it's creation.

just set the code to be


Code:
Copy      Help
clo win("win1")

let us know if you dont know how to set the "window trigger" in the macro properties.
#3
Yes, create a function (it must be function, not macro) and assign it window trigger.

Code:
Copy      Help
if(IsFunctionRunning("Macro Name")) clo TriggerWindow

Function IsFunctionRunning (QM 2.1.7 or later):

How to pass string in a function


Forum Jump:


Users browsing this thread: 1 Guest(s)