Automatically Synchronises files in My Briefcase

Example scripts and tips (replaces Old Scripts & Tips archive)

Moderators: Dorian (MJT support), JRL, Phil Pendlebury

Post Reply
User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Automatically Synchronises files in My Briefcase

Post by Marcus Tettmar » Sat Aug 08, 1998 11:00 pm

Contributed By: Steve Bullard [email protected]
Submitted On: 09/08/98

Run Program>C:\WINDOWS\Explorer.exe c:\windows\desktop\my briefcase
WaitWindowOpen>My Briefcase*
SetFocus>My Briefcase*
Press ALT
Send Character/Text>b
Send Character/Text>a
Release ALT
Wait>1
IfWindowOpen>Update Briefcase,no_update_rqd
IfWindowOpen>Update My Briefcase,update_briefcase

Label>no_update_rqd
Remark> This routine is executed when no files need updating
SetFocus>Update Briefcase
Press Enter
Goto>End

Label>update_briefcase
Remark> This routine is executed when files need updating
SetFocus>Update My Briefcase
Press Enter
Goto>End


Label>End
Remark> The text file below just notifies me when that
Remark> the script ran as it is executed automatically from System Agent
Run Program>notepad c:\program files\mjtnet software\macro scheduler\sync my briefcase.txt

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts