Sign in to follow this  
Followers 0
mark1022

auto-keystrokes

5 posts in this topic

where can i learn this script commands? like autoit for dummies.

i wanna know how can i auto-spacebar non-stop with a delay of 5 seconds(ea keystroke).

and auto-E(letter e) non-stop with a delay of 5 seconds(ea keystroke) too ^ ^

THANKS A LOT WISE PEEPS

Share this post


Link to post
Share on other sites



where can i learn this script commands? like autoit for dummies.

i wanna know how can i auto-spacebar non-stop with a delay of 5 seconds(ea keystroke).

and auto-E(letter e) non-stop with a delay of 5 seconds(ea keystroke) too ^ ^

THANKS A LOT WISE PEEPS

Welcome to the AutoIt forums.

Best to start with the help file. try the examples and experiment.

Read the sticky posts at the top of this forum.

Try this.

If you get stuck try searching in the forums for more examples and tips.


Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites

wow thanks for giving me the link and welcoming me ^ ^ hope i get it very quickly ^ ^

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

HotKeySet("!{SPACE}", "AutoSpace")

HotKeySet("+{SPACE}", "UnAutoSpace")

Global $pick = 0

TrayTip ( "Made By NFWU", "Auto-spacer" & @CRLF & "Alt+SPACE Activate" & @CRLF & "Shift+SPACE Deactivate", 60 , 1 )

While 1

Sleep(100)

while $pick == 1

send("{SPACE}")

wend

WEnd

func AutoSpace()

$pick = 1

endfunc

func UnAutoSpace()

$pick = 0

endfunc

just saw this on google its a great help for me... just wanna add some other key-strokes like the letter X for looting in the game ^ ^ and the delays too ^ ^

Edited by mark1022

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