Jump to content

Recommended Posts

Posted

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

Posted (edited)

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

Posted (edited)

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
Posted

Laptops are different in some respects, I suggest you start a new post..

and put in "latop problem with send F8 key"

There are some guys here with more experience on laptops....

sorry I can't help here

good luck

8)

NEWHeader1.png

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...