itjf Posted November 28, 2006 Posted November 28, 2006 Is there somebody who knows how to redefine keyboard keys in AutoIt? Etc put a macro into a key.
NeoFoX Posted November 28, 2006 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]
itjf Posted November 28, 2006 Author 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
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