Jump to content

Help Noob Out Script (f8 Every 1 seconds!)


Recommended Posts

hey can sum1 help me? i want to make a prog which can auto press f8 every 1 second..

Im Really NEW to this so i need as much help i dunno howto script or anythin i jus dloaded program and all i want it to do is press f8 every second! please help

Link to comment
Share on other sites

try this

#include <GuiConstants.au3>

Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Terminate")
call("TogglePause")

While 1
    Send("{F8}")
    sleep(1000)
WEnd

Func TogglePause()
$Paused = NOT $Paused
While $Paused
sleep(100)
ToolTip('Script is "Paused"',0,0)
WEnd
ToolTip("")
EndFunc

Func Terminate()
Exit 0
EndFunc

press "Pause" to start sending

Press "Pause" to Pause the script

Press "Esc" to exit the script

8)

Edited by Valuater

NEWHeader1.png

Link to comment
Share on other sites

hmm aright well i tried it and it works for everything else but when i put as f8 it wont skip my turn(pressing f8 will skip turn for game) so i dunno wat to do hmmm but works fine except f8 dun work for the game =/ when i press f8 my self it will skip turn but when i let the autoit on it wont work maybe it doesnt work on games? hmm how can u make this so it works on like games where when it turns on it will still work

Edited by iconz
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...