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.

how do i assign commands to the "calculator" or "favorite" keys with autohotkey?

share|improve this question
    
Which OS are you using? –  ChrisF Aug 28 '09 at 10:28
    
Windows. –  RCIX Aug 28 '09 at 10:40
    
It would probably be helpful to be more specific (i.e. XP, Vista, 7 (or even more specific, i.e. XP Pro 32-bit, Vista Home Premium 64 bit)) –  tnorthcutt Aug 28 '09 at 16:34
    
7 in this case, but my problem has been solved. –  RCIX Aug 29 '09 at 2:43
    
With this script you can see what key was pressed: github.com/mihaifm/screenkey.ahk Its very useful and you can save time. –  Exnius Nov 6 '13 at 5:31
add comment

4 Answers 4

up vote 3 down vote accepted

The favorites key is called "Browser_Favorites" in AHK. The Calc key could be Launch_App1 or Launch_App2, but if not, see special keys for detailed instructions.

share|improve this answer
    
Yup, it was Launch_App2. Thanks! –  RCIX Aug 29 '09 at 2:41
add comment

If you open a script, click on "open" and then view key history, it should show the name you can use to remap it there. Also, check the help file, I believe it has a list of common uncommon keys.

share|improve this answer
    
what's odd is that it shows the F key being pressed.... –  RCIX Aug 28 '09 at 10:44
    
however, the "state" column has an "a" in it. –  RCIX Aug 28 '09 at 10:45
    
Is it possible the keyboard is just shooting off a series of keys? My friend had a keyboard like that. Does it work fine without drivers, and so? –  Phoshi Aug 28 '09 at 11:46
    
I didn't install any specific ones, but it's a microsoft keyboard so maybe it installed some automatically though... –  RCIX Aug 29 '09 at 2:37
add comment

You can also assign a shortcut key to the application's shortcut. The only caveat of this is that you need to use a shortcut key that Windows deems acceptable (such as CTRL+ALT+something) which might not be exactly what you like.

Right click the shortcut in question, and hit properties. You should then be able to assign a keyboard shortcut.

share|improve this answer
    
I specifically want to use Autohotkey as it provides more flexibility. –  RCIX Aug 29 '09 at 2:36
add comment

From http://support.microsoft.com/kb/181855

Select the shortcut for the application, Rightclick and select properties, select tab "shortcut". Click in "shortcut key" (which has none written in it). Now press the HotKey that you want to use. It will automatically appear in the box. e.g. if you press ^F12 then CTRL-F12 will appear in the box. Click apply and hit ok.

share|improve this answer
    
I specifically want to use Autohotkey as it provides more flexibility. –  RCIX Aug 29 '09 at 2:35
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.