Sign in to follow this  
Followers 0
duroxx

need help adding keystroke on timer

4 posts in this topic

okay so i know im gonna be a leech here but i need help figure go to the source

okay so i need to add a number 2 keystroke to my script on a 10min timer

how would i do so???

if u need me to post my script i will

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Open the provided helpfile and start seaching this forum.

Focus on Send(), Timer?() functions.

Post your code when you have a specific question.

Jos

Edited by Jos

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

$Begin = TimerInit()

While 1
    If TimerDiff($Begin) > 60000 Then; 10 min
        If  TimerDiff($Begin) < 60050 Then ; increase number if it doesn't work, but a little at a time
            $Begin = TimerInit()
            Send("2")
        Endif
    Endif
Wend


[font=Microsoft Sans Serif]My Scripts: From Most recent to least.[/font]Countdown GUI | QLOCK TWO | FlipClock | Slot Machine My UDF:_GenerateRandomNoRepeat | _GuiSnap

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