02-26-2014, 10:57 PM
I tried adding a delay to ensure the save as window has enough time to show up and it still gives the same error.
Macro Macro2
Macro Macro2
spe 200
int i
int w=win("" "Mozilla*WindowClass" "" 0x4)
act w
'Af ;; Alt+F
'a ;; "a"
1
int w1=win("Save As" "#32770")
act w1
spe 300
;pick filename area
Acc a.Find(w1 "TEXT" "File name:" "class=Edit[]state=0x100000 0x20000040" 0x1005 2)
;pick save button
Acc a1.Find(w1 "PUSHBUTTON" "Save" "class=Button[]id=1" 0x1005 2)
clo ;;tried using 'ZZ and I still get the same error, "window not found"
act w
'Af ;; Alt+F
'a ;; "a"
1
act w1 ;;I can verify that the save as window does appear and act w1 still gives the "window not found" error