Sign in to follow this  
Followers 0
Orpheus66

Need a very basic script

6 posts in this topic

#1 ·  Posted (edited)

What i need is pretty simple (i think), all i need is the script to push dpad Up every 2min. The reason is i am on a work laptop and every 10min i have to enter my username and password if the computer is not in use. However, i am able to connect my laptop to my plasma TV and watch movies on it but it is very annoying to get up and push the Up key every 10min.

Can anyone help me out?

edit: ummm, ya i guess i was a little hasty. Will this work

$begin = TimerInit()
While 1
    sleep(120000)
    $dif= TimerDiff($begin)
    send ("{UP}")
WEnd
Edited by Orpheus66

Share this post


Link to post
Share on other sites



Have a look at these two functions, found oddly enough in the Help file, go figure.. ;)

Send

Sleep

With the example codes, you should be able to come up with pretty much what you want. Post what you come up with if you need more help..

Welcome to the Forum!


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Which Laptop is this?!

What is the OS installed?

Which player do you use?

I have a laptop that also turn on an LCD TV and use Windows Media Player and jetAudio, both have the option to disable the screen saver in Windows as I'm watching a movie!

I did not understand what you want ...

Edit: Why "Up Key"?

Edited by jscript

http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!)

Somewhere Out ThereJames Ingram

somewh10.png

dropbo10.pngDownload Dropbox - Simplify your life!
Your virtual HD wherever you go, anywhere!

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

Dis you figure this out in the end?

Edited by engjcowi

Drunken Frat-Boy Monkey Garbage

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