Jump to content

Screensaver interference


Recommended Posts

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.

CODE
Run("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.

Link to comment
Share on other sites

Use the helpfile?

If you don't understand that, what exactly don't you understand with the command?

CODE
ControlClick("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.

Link to comment
Share on other sites

start -> all programs - > autoit3 - > autoit3 window info tool

:)

thanks, 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.

Link to comment
Share on other sites

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

post-33039-1204706310_thumb.jpg

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?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...