Jump to content
Sign in to follow this  
Guest reactor

HELP

Recommended Posts

Guest reactor

how do i make a script that keeps pressin F8 forever until i tell it to stop?

Share this post


Link to post
Share on other sites

; 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 by jimmer

Share this post


Link to post
Share on other sites

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! :idiot:

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...