10-15-2009, 02:44 PM
To click a button in an inactive window, use code like
Macro Macro630
To create the code use Controls dialog. Drag and drop the second Drag image onto the button.
If it does not work, use code like
Macro Macro630
To insert the first line, use Find Accessible Object dialog. Drag and drop the Drag image. For the second line use Accessible Object dialog.
Macro Macro630
To create the code use Controls dialog. Drag and drop the second Drag image onto the button.
If it does not work, use code like
Macro Macro630
Acc a=acc("Don't Save" "PUSHBUTTON" win("Notepad" "#32770") "Button" "" 0x1001)
a.DoDefaultAction
To insert the first line, use Find Accessible Object dialog. Drag and drop the Drag image. For the second line use Accessible Object dialog.