Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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::Send {Alt}f

Any ideas how I can get this working?

share|improve this question

Try this:

KeyWait Alt
Send f

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

For Excel this AutoHotKey script sends Alt e s v (paste special values)

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

I think it's 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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .