Jump to content

need help adding keystroke on timer


 Share

Recommended Posts

  • Developers

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

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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

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