02-26-2014, 11:47 AM
I got acc object to work. I added more code and then it stopped working. I can't figure this out. Can you please look at this?
Macro Macro2
Keeps telling me on the last line "Error (RT) in Macro2: window not found. ? "
Macro Macro2
spe 200
int i
int w=win("" "Mozilla*WindowClass" "" 0x4)
act w
'Af ;; Alt+F
'"a" ;; "a"
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)
'Z ;; Esc
'Z ;; Esc
act w
'Af ;; Alt+F
'"a" ;; "a"
1
act w1
Keeps telling me on the last line "Error (RT) in Macro2: window not found. ? "