Jump to content
Sign in to follow this  
ChronologiX

Auto Key Press?

Recommended Posts

ChronologiX

please delete, got server lag and have pushed the submit button thrice

Edited by ChronologiX

Share this post


Link to post
Share on other sites
ChronologiX

please delete, got server lag and have pushed the submit button thrice/ Sorry for the triple post

Edited by ChronologiX

Share this post


Link to post
Share on other sites
ChronologiX

How can I make the script automatically press a certain key every X second?

like the script would automatically press F4 every 30 seconds,Ctrl+H every 55 seconds and ctrl+spacebar every 45 seconds

Can this be done and a hotkey to make the script start and end?

Share this post


Link to post
Share on other sites
ChronologiX

Nothing Yet but could you guide me on making one?

Share this post


Link to post
Share on other sites
searchresult

Nothing Yet but could you guide me on making one?

Have you tried send() and sleep()

look in help for those two functions

Share this post


Link to post
Share on other sites
BrettF

Share this post


Link to post
Share on other sites
searchresult

Something like this maybe:

While 1
    
    $begin = TimerInit()
    $dif = TimerDiff($begin)
    If $dif = 30 Then
        Send("{ENTER}")
    EndIf
    
WEnd

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  

×