| 1 |
SetTitleMatchMode,2
|
| 2 |
SetWinDelay, 2000
|
| 3 |
SetKeyDelay, 80
|
| 4 |
WinWaitActive, https://mwe-litigation.lexisnexis.com/?ArtifactID=
|
| 5 |
FileReadLine,RLUSER,\\\\bstads01\\app\\manny\\testing\\RL_Stats\\names.txt,1
|
| 6 |
FileReadLine,STRTDATE,\\\\bstads01\\app\\manny\\testing\\RL_Stats\\dates.txt,1
|
| 7 |
FileReadLine,ENDDATE,\\\\bstads01\\app\\manny\\testing\\RL_Stats\\dates.txt,2
|
| 8 |
FileReadLine,STRTDATEFL,\\\\bstads01\\app\\manny\\testing\\RL_Stats\\dates.txt,3
|
| 9 |
FileReadLine,ENDDATEFL,\\\\bstads01\\app\\manny\\testing\\RL_Stats\\dates.txt,4
|
| 10 |
send,{TAB 2}
|
| 11 |
send,%RLUSER%
|
| 12 |
send, {TAB}
|
| 13 |
send,%STRTDATE%
|
| 14 |
send, {TAB 2}
|
| 15 |
send,%ENDDATE%
|
| 16 |
send,+{TAB 4}
|
| 17 |
send, {ENTER}
|
| 18 |
WinWaitActive, Windows Internet Explorer, The results of running this script will be permanent
|
| 19 |
send, {ENTER}
|
| 20 |
MsgBox, 0, RL_Stat_Automator, Click OK when the processing completes.
|
| 21 |
send, {TAB 16}
|
| 22 |
send, {ENTER}
|
| 23 |
WinWaitActive, File Download
|
| 24 |
send, !s
|
| 25 |
WinWaitActive, Save As
|
| 26 |
send, c:\\%STRTDATEFL%-%ENDDATEFL%_%RLUSER%.csv
|
| 27 |
send, {ENTER}
|
| 28 |
WinWaitActive, Download complete
|
| 29 |
send,{ENTER}
|