Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Clicking a button in a dialog
#3
Thanks for your reply!

The following works fine once:
int wMain=win("gSyncit - Evaluation / Restricted Functionality" "WindowsForms10.Window.8.app.0.1b6501_r87_ad2")
int wButton=wait(30 WE child("" "*.BUTTON.*" wMain 0x0 "wfName=button3"))
but wButton

I don't know how to use TriggerWindow.
Should I add the properties in the "Item properties . Trigger - Window"? As what subtype (Created and active, Active etc.)?
Should I then replace "int wMain=win("gSyncit - Evaluation / Restricted Functionality" "WindowsForms10.Window.8.app.0.1b6501_r87_ad2")" with int wMain=TriggerWindow instead?

If I want the macro to be active even after the first run, how would I do that?
Or is this where a TriggerWindow fits?

Thanks again for your help!


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)