| 1 |
ninoborges |
4 |
InputBox, UserName, New Enroll AgentCreator, This program will create the backup agents for this new enroll.\n\nPlease enter the name of the User that is getting enrolled:
|
| 2 |
|
|
WinWaitActive, Commence/CLIENT
|
| 3 |
|
|
Send, !c
|
| 4 |
|
|
Send, a
|
| 5 |
|
|
WinwaitActive, Customize Database
|
| 6 |
|
|
FindAgentLoop:
|
| 7 |
|
|
Send, {RIGHT}
|
| 8 |
|
|
Sleep, 500
|
| 9 |
|
|
IfWinNotActive, Customize Database, Agent &Names:,Goto, FindAgentLoop
|
| 10 |
|
|
Send, {TAB}
|
| 11 |
|
|
Send, {DOWN 9}
|
| 12 |
|
|
Sleep, 500
|
| 13 |
|
|
Send, !c
|
| 14 |
|
|
WinWaitActive, New Agent
|
| 15 |
|
|
Send, Backup Database Local
|
| 16 |
|
|
Send, !a
|
| 17 |
|
|
WinWaitActive, Edit Action
|
| 18 |
|
|
Send, !a
|
| 19 |
|
|
WinWaitActive, Message Box Actions
|
| 20 |
|
|
Send, !a
|
| 21 |
|
|
WinWaitActive, Edit Message Box Action
|
| 22 |
|
|
Send, {TAB}
|
| 23 |
|
|
Send, J:\\Commdb\\LaborSpool\\Bak\\%UserName%.XFR
|
| 24 |
|
|
Sleep, 500
|
| 25 |
|
|
Send, {ENTER 4}
|
| 26 |
|
|
WinWaitActive, Customize Database
|
| 27 |
|
|
Send, {DOWN 12}
|
| 28 |
|
|
Sleep, 500
|
| 29 |
|
|
Send, !c
|
| 30 |
|
|
WinWaitActive, New Agent
|
| 31 |
|
|
Send, Daily Backup Local
|
| 32 |
|
|
Send, !a
|
| 33 |
|
|
WinWaitActive, Edit Action
|
| 34 |
|
|
Send, !a
|
| 35 |
|
|
WinWaitActive, Message Box Actions
|
| 36 |
|
|
Send, !a
|
| 37 |
|
|
WinWaitActive, Edit Message Box Action
|
| 38 |
|
|
Send, {TAB}
|
| 39 |
|
|
Send, J:\\Commdb\\LaborSpool\\Bak\\%UserName%.XFR
|
| 40 |
|
|
Sleep, 500
|
| 41 |
|
|
Send, {ENTER 5}
|