Jump to content

auto-keystrokes


mark1022
 Share

Recommended Posts

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

Link to comment
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.
Link to comment
Share on other sites

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
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...