itjf Posted November 28, 2006 Share Posted November 28, 2006 Is there somebody who knows how to redefine keyboard keys in AutoIt? Etc put a macro into a key. Link to comment Share on other sites More sharing options...
Ármányos Kő Posted November 28, 2006 Share Posted November 28, 2006 HELP file is your friend. HotKeySet Link to comment Share on other sites More sharing options...
NeoFoX Posted November 28, 2006 Share Posted November 28, 2006 Example: HotKeySet("a", "test") While 1 sleep(1000) WEnd func test() Send("b") EndFunc Neo [center][font="Arial"]--- The Neo and Only --- [/font][font="Arial"]--Projects---[/font]Image to Text converterText to ASCII converter[/center] Link to comment Share on other sites More sharing options...
itjf Posted November 28, 2006 Author Share Posted November 28, 2006 Thank you I was looking for a solutution with {RWIN} key, but it is not possible. Instead I had used /*-+ Result: HotKeySet("{NUMPADMULT}", "_Multiply") HotKeySet("{NUMPADSUB}", "_Subtract") HotKeySet("{NUMPADADD}", "_Add") HotKeySet("{ESCAPE}", "_Escape") While 1 Sleep(1000) WEnd Func _Divide() MouseClick("left") MouseClick("left") Sleep(500) Send("^{INSERT}") EndFunc Func _Multiply() Send("{SHIFTDOWN}") Send("{RIGHT 10}") Send("{SHIFTUP}") Sleep(300) Send("^{INSERT}") EndFunc Func _Subtract() Send("^{INSERT}") EndFunc Func _Add() Send("^v") EndFunc Func _Escape() Exit EndFunc 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