Sign in to follow this  
Followers 0
iconz

Help Noob Out Script (f8 Every 1 seconds!)

11 posts in this topic

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

Share this post


Link to post
Share on other sites



#3 ·  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

Share this post


Link to post
Share on other sites

thank you very much

Share this post


Link to post
Share on other sites

Your Welcome,

( its nice when people like you ask for help... get help... and the say thanks.. many Don't)

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

oh i dont have pause on my laptop

Share this post


Link to post
Share on other sites

just change

HotKeySet("{PAUSE}", "TogglePause")

to

HotKeySet("{F1}", "TogglePause")

or something else f..... what ever you want

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

oh and script unfortuanlly doesnt work =(

Share this post


Link to post
Share on other sites

#9 ·  Posted (edited)

maybe you can compile into an exe file

test it

then put the exe on your laptop

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

#10 ·  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

Share this post


Link to post
Share on other sites

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

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  
Followers 0