I'm using the following AutoHotkey script:

Numpad4::Send !f

When pressing Numpad4 AutoHotkey is supposed to send "Alt+F" to the program currently opened. Nothing happens however - I've also tried:

Numpad4::!f

and

Numpad4::Send {Alt}f

Any ideas how I can get this working?

link|improve this question
feedback

1 Answer

Try this:

Numpad4::
KeyWait Alt
Send f
return

I know you technically want it to hit alt then f, but this has the same effect.

link|improve this answer
I'm also using Numpad1::Send ^+g and it works – DDDD Aug 10 '11 at 22:09
@DDDD, I have edited my answer. – Windos Aug 10 '11 at 22:27
nope... it seems like he tries to enter the upper menu like when you press Alt alone – DDDD Aug 10 '11 at 22:33
@DDDD, are you sure there is something that the program does if you hit alt+f? Hitting it in most applications will just open the file menu, if it has one (because hitting alt "reveals" the menus and f is the shortcut key for the file menu, hitting as a key combo does the same thing as hitting alt alone then following up with f.) – Windos Aug 10 '11 at 22:50
It is sound editing software, it has lots of shortcuts. Alt+F is one of them, without using the menu. So hitting alt and then F isn't the same as Alt+f – DDDD Aug 10 '11 at 23:01
show 1 more comment
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.