arminius Posted March 5, 2008 Posted March 5, 2008 when I execute this script manually when the screensaver isn't on it works perfectly, but when I scedule it's execution when the screensaver is running it opens the programs but doesn't do anything else, the mouse movements don't work. CODERun("C:\Program Files\Windows Defender\MSASCui.exe") MouseClick("left", 480, 260, 1) MouseClick("left", 480, 300, 1) Sleep(108*60*1000) Run("C:\Program Files\Spybot - Search & Destroy\SDMain.exe") Sleep(8*1000) MouseClick("left", 280, 150, 1) Sleep(32*60*1000) MouseClick("left", 350, 130, 1) MouseClick("left", 370, 130, 1) MouseClick("left", 570, 550, 1) Run("C:\Program Files\Grisoft\AVG7\avgw.exe") MouseClick("left", 550, 500, 1) I tried changing the screen saver program about 5 times, different creators, same thing everytime, can anyone advise a solution that will allow me to scedule this when I'm not using the comp and when screensaver is locking other people out.
covaks Posted March 5, 2008 Posted March 5, 2008 Try using ControlClick instead. It's useful for working with windows that are hidden/minimized/below others etc.
arminius Posted March 5, 2008 Author Posted March 5, 2008 Try using ControlClick instead. It's useful for working with windows that are hidden/minimized/below others etc.just had a look at control click it doesn't look intuitive, is there a tutorial somewhere?
Glyph Posted March 5, 2008 Posted March 5, 2008 Use the helpfile? If you don't understand that, what exactly don't you understand with the command? tolle indicium
arminius Posted March 5, 2008 Author Posted March 5, 2008 Use the helpfile?If you don't understand that, what exactly don't you understand with the command?CODEControlClick("Untitled -", "", "MDIClient1")I have used the help file, this might look obvious in it's use to you but me as a newb that's only a couple of days old and never used script before have no idea how to make this click on sections of the window I want it to click on.
Glyph Posted March 5, 2008 Posted March 5, 2008 start -> all programs - > autoit3 - > autoit3 window info tool tolle indicium
arminius Posted March 5, 2008 Author Posted March 5, 2008 start -> all programs - > autoit3 - > autoit3 window info toolthanks, that does look like it will be useful when it comes to finding the coordinates for the mouse clicks on the screen, but it doesn't seem to show me how I'm ment to combine those cords and the control click coding, if there is some tutorial somewhere that explains in detail I would be happy to go there and stop bothering u all.
Glyph Posted March 5, 2008 Posted March 5, 2008 Read the control tab; e.g on IE the classnameNN is Internet Explorer_Server1 so... ControlSend ( "Internet Explorer", "", "Explorer_Server1", "test" ) tolle indicium
arminius Posted March 5, 2008 Author Posted March 5, 2008 Read the control tab; e.g on IE the classnameNN is Internet Explorer_Server1 so... ControlSend ( "Internet Explorer", "", "Explorer_Server1", "test" ) ok here is what the window says I've tried everything I could think of, the mouse pointer will not move, and it's the scan options I want it to click on? any ideas?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now