Sign in to follow this  
Followers 0
arminius

Screensaver interference

9 posts in this topic

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.

Share this post


Link to post
Share on other sites



Try using ControlClick instead. It's useful for working with windows that are hidden/minimized/below others etc.

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

Use the helpfile?

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


tolle indicium

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

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

:)


tolle indicium

Share this post


Link to post
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.

Share this post


Link to post
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" )

tolle indicium

Share this post


Link to post
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?

Share this post


Link to post
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
Sign in to follow this  
Followers 0