Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Make window active
#7
I see you try to record something in QM toolbar. Don't need to record. These dialogs are used to insert 1 line of code (like in my previous post) in macro. And this code will close the Connect dialog. No more code is needed for the macro. Just assign "window visible" trigger, and make sure that QM is already running when the Connect dialog appears. The whole macro (better if it is function) may be like

Function auto_connect
Trigger !v"Connect" "#32770"     Help - how to add the trigger to the macro
Code:
Copy      Help
int hwnd=val(_command)
but "Connect" hwnd

Of course you need to change window name etc, because I don't know them.


Messages In This Thread

Forum Jump:


Users browsing this thread: 15 Guest(s)