Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Remote computer not running send keystrokes or mousemove

$
0
0

I have a computer in another location, unattended (windows 7). The only way that computer is accessed is through Remote Desktop Connection.

 

I setup a code on that computer which runs flawlessly when I am connected remotely.

AutoIt Code         
#include <IE.au3> ;open IE Local $oIE = _IECreate("https://fake-site.com",0,1,0) sleep (5000) ;input login information Send ("username") send ("{TAB}") send("password") send ("{ENTER}") Sleep(1000) ; more code here including mousemove

I exit the remote - not log out, just close the connection. The computer is still logged on with the same user, but not sure in what state it acctually remains - that causes the code not to execute completely.

 

The code is scheduled to run at certain time during the night.

 

All it does is it opens the web site, but doesn't input user and password... or anythingelse.

 

I suspect it's because monitor turns off during the night ?!?!?!

And if this is the problem, is there a way around it? (w/o changing power options on the computer - don't have admin rights)


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>