lopolop Posted September 6, 2005 Share Posted September 6, 2005 (edited) how do i send the UP Key? ok nvm new question... how can i set a hotkey to send someting like hotkeyset = ("^x") Send ("123") like that? Edited September 6, 2005 by lopolop Link to comment Share on other sites More sharing options...
Stumpii Posted September 6, 2005 Share Posted September 6, 2005 A quick look at the help file explains everything. Here is a little example anyway... HotKeySet("1", "SendOne") HotKeySet("2", "SendTwo") HotKeySet("3", "SendThree") ;;;; Body of program would go here;;;; While 1 Sleep(100) WEnd ;;;;;;;; Func SendOne() Send("1") EndFunc Func SendTwo() Send("2") EndFunc Func SendThree() Send("3") EndFunc Give a man a script; you have helped him for today. Teach a man to script; and you will not have to hear him whine for help.AutoIt4UE - Custom AutoIt toolbar and wordfile for UltraEdit/UEStudio users.AutoIt Graphical Debugger - A graphical debugger for AutoIt.SimMetrics COM Wrapper - Calculate string similarity. Link to comment Share on other sites More sharing options...
therks Posted September 6, 2005 Share Posted September 6, 2005 Or HotKeySet('^x', 'Numbers') Func Numbers() Send('123') EndFunc While 1 Sleep(100); Keep AutoIt running WEnd My AutoIt Stuff | My Github Link to comment Share on other sites More sharing options...
lopolop Posted September 7, 2005 Author Share Posted September 7, 2005 ooo i c i did it correctly but my auto it shut down didnt think that i had to loop a sleep thanks! 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