Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
add comment

2 Answers

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.

share|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

For excel this autohotkey script works to send alt e s v (paste special values)

alt & v:: Send, {LAlt Down}{e}{s}{v}{LAlt Up}{enter} return

I think its the left alt that makes it work. (I probably should have asked and answered a more specific question and answered myself than replying here)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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