I am running a scrip from a network remote desktop that I am trying to schedule to run every 3 hours. My script reads a Excel page and transfers the data to a .txt page. The scrip works great if i am logged on to my remote desktop but if i am not logged on no keystrokes or mouse moves are exicuted. Its not a SetFocas problem since i have tryed meny diffrent scripts to see if any key strokes we being made.
I have worked around most of my problems but i can't find a way to close a excel file with out using key strokes or mouse movements. I have tryed closewindow>Microsoft Excel* but then is asks you if you want to save the file or not, and i can't get past this part with out SOME kind of a key stroke or mouse move. I was thinking of dos commands like Killfile /F /IM Excel.exe but i can't send any key strokes. is there a way to have Cmd open with this line pre-writen into it?
I was also wondering if there is a way to save a file in a Read Only state?
ANY Help would be GREAT.
Remote Desktop problem
Moderators: JRL, Dorian (MJT support)
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
From the FAQs:
Why do UI macros fail when I disconnect or minimize the Remote Desktop/Terminal Services session?
http://www.mjtnet.com/msfaq171.htm
Why do UI macros fail when I disconnect or minimize the Remote Desktop/Terminal Services session?
http://www.mjtnet.com/msfaq171.htm
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?