alnyden Posted January 6, 2018 Share Posted January 6, 2018 I'm trying a simple autohotkey script but can't get it to work. I'd like the "c" key to send alt+Control+F5. I've tried a variety of combinations (using Send command or not) but it doesn't seem to be work. Something like c::!^F5. Thanks for any help! R Quote Link to comment Share on other sites More sharing options...
Retro808 Posted January 9, 2018 Share Posted January 9, 2018 Try c:: Send, ^!{F5} return or simpler version c::Send ^!{F5} 1 Quote Link to comment Share on other sites More sharing options...
alnyden Posted January 9, 2018 Author Share Posted January 9, 2018 Thanks Retro. Tried that but got it to work eventually by using: c:: Send {LCtrl Down}{LAlt Down}{f5 Down} {LCtrl Up}{LAlt Up}{f5 Up} I'm using the script in MAME, not sure if that's why I had to add the "down" and "up" commands. 1 Quote Link to comment Share on other sites More sharing options...
dragon57 Posted January 9, 2018 Share Posted January 9, 2018 MAME might indeed be a special case, especially if you don't have the dinput option turned on in the mame.ini file. Quote Link to comment Share on other sites More sharing options...
Retro808 Posted January 9, 2018 Share Posted January 9, 2018 7 minutes ago, alnyden said: Thanks Retro. Tried that but got it to work eventually by using: c:: Send {LCtrl Down}{LAlt Down}{f5 Down} {LCtrl Up}{LAlt Up}{f5 Up} I'm using the script in MAME, not sure if that's why I had to add the "down" and "up" commands. Hey you got it working so that is great. Not sure why either. Those are just telling the command to press and release. I do not mess with AHK much in fact I just really started learning more about it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.