Sabrina Posted March 18, 2015 Share Posted March 18, 2015 I am new in autoit programming.Used for a long time ahk.In ahk there is a $ you use the key and more the function of the script.I wonder if the autoit have something?example:I use left is script will use to left and then up.script: $left:: send {left} send {up} return In Autoit there doing this? Link to comment Share on other sites More sharing options...
JohnOne Posted March 18, 2015 Share Posted March 18, 2015 HotkeySet Click it. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Sabrina Posted March 18, 2015 Author Share Posted March 18, 2015 (edited) HotkeySet Click it. HotKeySet("{left}", "jump") Func jump() Send ("{up}{left}") Endfunc If I do that when you press left the script will go up and come into loop.the script will not run up and left ------[Edit]------ result: HotKeySet("{left}", "jump") Func jump() HotKeySet("{left}") Send ("{up}{left}") HotKeySet("{left}", "jump") Endfunc Ok... But would not otherwise or prefix? Edited March 18, 2015 by Sabrina Link to comment Share on other sites More sharing options...
JohnOne Posted March 18, 2015 Share Posted March 18, 2015 Syntax is quite different. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now