04-11-2008, 08:24 PM
I do hope someone will help an old man. I haven’t done any program since I used Basic & APL 25 years ago before I retired. I wrote the following to automate the backup of my Email to an external drive. I works SOMETIMES. This is a long process and the only thing that changes on the windows w1 through w4 id the name of the block to click on. Such as “Next” or “Select” or “Finish”. It hangs up at “int w4=..”
Please help
;;Backup Thunderbird to Buslink drive
;del "J:\3-?????? Thunderbird Backup File\*.*" ;;remove old files
run "$program files$\RinjaniSoft\EZ Backup Thunderbird Basic\ezbackupthunderbirdbasic.exe"
wait 0 WA "EZ Backup Thunderbird Basic 5.4"
int w1=act(win("EZ Backup Thunderbird Basic 5.4" "TForm1"))
lef 333 345 w1 ;;Click next from initial screen
3
int w2=act(win("EZ Backup Thunderbird Basic 5.4" "TForm1"))
lef 333 345 w2 ;;Click next to select place to back up the file
3
int w3=act(win("EZ Backup Thunderbird Basic 5.4" "TForm1"))
lef 333 345 w3 ;; Click next to acknowledge warning
wait 0 P 10
1
int w4=act(win("EZ Backup Thunderbird Basic 5.4" "TForm1"))
lef 3
Please help
;;Backup Thunderbird to Buslink drive
;del "J:\3-?????? Thunderbird Backup File\*.*" ;;remove old files
run "$program files$\RinjaniSoft\EZ Backup Thunderbird Basic\ezbackupthunderbirdbasic.exe"
wait 0 WA "EZ Backup Thunderbird Basic 5.4"
int w1=act(win("EZ Backup Thunderbird Basic 5.4" "TForm1"))
lef 333 345 w1 ;;Click next from initial screen
3
int w2=act(win("EZ Backup Thunderbird Basic 5.4" "TForm1"))
lef 333 345 w2 ;;Click next to select place to back up the file
3
int w3=act(win("EZ Backup Thunderbird Basic 5.4" "TForm1"))
lef 333 345 w3 ;; Click next to acknowledge warning
wait 0 P 10
1
int w4=act(win("EZ Backup Thunderbird Basic 5.4" "TForm1"))
lef 3