| Main > Software Forum |
| AutoHotKey Escape? |
| (1/2) > >> |
| MPTech:
I'm at work, so I can't test it now, but is this close?? I'm using an X-Arcade CP and someone suggested mapping Player1 & Player2 (both pressed simultaneously) to the Escape. I like this and would to set it up for anything I played via MameWAH, so AutoHotKey seemed like a great solution, rather than changing all of my .ini files. I haven't used it before, but read the docs, so I wanted to see if I'm thinking correctly. Is it this simple?? Num1 & Num2:: Esc (or is it Escape?) I did a couple searches on AutoHotKeys and found a couple others I'd also like to try. Any other suggestions?? |
| Howard_Casto:
No you want Numpad1 & Numpad2::Esc But unless your layout is wierd, most people map start 1 and 2 to the keyboard numbers, not the numpad numbers, in which case it would be: 1 & 2::Esc Now if you want it to act like an ipac in that it's a key shifted you want to use : 1 & 2 UP::Esc meaning that it doesn't fire escape unless 1 is held down, then 2 is pressed and released while 1 is still being held down. Your ahk exe comes with a very extensive help file which describes various syntax. You should look at it. |
| MPTech:
Thanks again HC! I think I want: 1 & 2 UP::Esc I'll try it tonite when I get home. |
| MPTech:
Thought I'd try this again, but stil not working. I did review the help (looks like it could be a GREAT tool), but not being succesful on a simple task here. I create a file called Esc.ahk (actually, I let the utility create it then renamed it). I entered one line in the first blank line, as we discussed: 1 & 2 UP::Esc I'm getting this message: --- Quote ---Error at line 11. Line Text: Esc Error: This line does not contain a recognized action. The program will exit. --- End quote --- I thought it might not recognize "Esc" so I changed it to "Escape" and got the same message. Any suggestions? Thanks! MPTech |
| headkaze:
I think the line your looking for is.. --- Code: ---1 & 2 Up::Send {Esc} --- End code --- According to the Key List escape key can be either Esc or Escape. |
| Navigation |
| Message Index |
| Next page |