I built a script to open Meditech and download a report to a location on
our server.  It runs great, when I execute it manually.
However, when I schedule it to run at 6AM in the morning, it appears
that my "locked" computer window is taking away the focus from the
'Activate "Save As"' line code within the script.
Has anyone been able to work around this?
Due to policy, our company computers "lock" after a certain time of
inactivity.
Here's the line of code that works only when ran when my computer is
"unlocked":

Enter "DOWNLOAD"
Wait 0.4
Enter
Stable 3
Activate "Save As"
Stable 0.3
SendKeys (rptName)
Stable 1
SendKeys ("%S")
Activate "Save As"
Stable 0.3
SendKeys ("%Y")
Pause "End of report."
Enter
Wait 0.5

Any feedback is MUCH appreciated!
Thanks,
Chase Rodgers
Financial Reporting Manager
Medical Center of Plano
*214-473-7490
[EMAIL PROTECTED]

Reply via email to