Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Activate Last Window
#1
Hello QM Forum,

I am working on a multi window macro. The problem I am having is my triggers are deactivating some windows causing them to error. For example if I have my macro running and it is typing in 3 different notepads. When it clicks save on one and it activates the trigger it wont error, but it wont continue the loop correctly. My question is would it be possible to make a code that when the trigger is triggered to get the current active window so I can set it active again?

For example:
Current active window="ActiveWindow"
Trigger is triggered; get "ActiveWindow"
End of trigger act "ActiveWindoww"?
#2
Macro Macro1563
Code:
Copy      Help
int activeWindow=win

;...

act activeWindow; err


Forum Jump:


Users browsing this thread: 1 Guest(s)