Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Push key 1 to loop every 30 sec


  • Please log in to reply
2 replies to this topic
sexybrina
  • Members
  • 1 posts
  • Last active: Apr 22 2011 07:10 PM
  • Joined: 22 Apr 2011
like title says, can someone help me?

Learning one
  • Members
  • 1483 posts
  • Last active: Jan 02 2016 02:30 PM
  • Joined: 04 Apr 2009
Loop

{

	Send, 1

	Sleep, 30000

}



Esc::ExitApp


girlgamer
  • Moderators
  • 3263 posts
  • Last active: Feb 01 2015 09:49 AM
  • Joined: 04 Jun 2010
Pseudocode
Push key 1 to start a 30-second loop

#singleinstance force
tCounter = 0
msgbox,  Push key 1 to start a 30-second loop
Return

1::
SetTimer t30, 30000
MsgBox,,, 30 second timer loop started, 2
Return

t30:
tcounter++
msgbox,,, loop %tcounter% -- 30-seconds are up. 2
return

The universe is a wondrous place! The faster you create unbreakable code, the faster the universe creates people that can break it. All scripting follows the rule Rule Of Twos -- 1) Good, 2) Fast 3) Cheap -- pick any Two.
I guarantee absolutely nothing about any code I provide except that it works in my machine. ●
MMO Fighter   KeyLooperDemo   Key Spammer   TinyClickRecorder  GGs Password Generator.ahk
For the newest version of AutoHotkey and some killer scripts go here.
Rock-on%20kitten.gif