Guest reactor Posted January 16, 2005 Share Posted January 16, 2005 how do i make a script that keeps pressin F8 forever until i tell it to stop? Link to comment Share on other sites More sharing options...
jimmer Posted January 16, 2005 Share Posted January 16, 2005 (edited) ; NUMPAD9 can be changed to anything. This is to exit the script HotKeySet("{NUMPAD9}", "MyExit") Func MyExit() Exit EndFunc ;This is so you don't have more hten 1 running. $g_szVersion = "XXX" If WinExists($g_szVersion) Then Exit AutoItWinSetTitle($g_szVersion) ;This is the thingy that presses F8 consecutively $Loop = 1 While $Loop = 1 Send("{F8}") WEnd Edited January 16, 2005 by jimmer Link to comment Share on other sites More sharing options...
DirtyBanditos Posted January 16, 2005 Share Posted January 16, 2005 how do i make a script that keeps pressin F8 forever until i tell it to stop?<{POST_SNAPBACK}>Hello or look on the Autoit Help files or Load the Scite Scriptwriter from my sig it is easy to use for make any simpel Script self! 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