coachmatt Posted April 17, 2006 Share Posted April 17, 2006 Not a programmer... Need a simple macro that will push keys, pause, and push another key... then repeat. Anyone mind helping? Link to comment Share on other sites More sharing options...
GaryFrost Posted April 17, 2006 Share Posted April 17, 2006 Not a programmer... Need a simple macro that will push keys, pause, and push another key... then repeat. Anyone mind helping?post questions in support section of forum. SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Valuater Posted April 17, 2006 Share Posted April 17, 2006 (edited) 1Welcome to the forums2thjs is the "Scripts and Scraps" Section, please post questions in support3take a quick tutor....herehttp://www.autoitscript.com/forum/index.php?showtopic=21048#8) Edited April 17, 2006 by Valuater Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted April 17, 2006 Share Posted April 17, 2006 Global $Paused HotKeySet("{PAUSE}", "TogglePause") HotKeySet("{ESC}", "Terminate") HotKeySet("{F2}", "ShowMe") While 1 Sleep(100) WEnd Func TogglePause() $Paused = NOT $Paused While $Paused sleep(100) ToolTip('Script is "Paused"',0,0) WEnd ToolTip("") EndFunc Func Terminate() Exit 0 EndFunc Func ShowMe() while 1 for $i = 1 to 5 send("{F6}") sleep( 2000) next For $h = 1 to 2 send("{f1}") sleep(1000) Next wend EndFunc Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now