applescript key codes for numpad?

Discussion in 'Mac Programming' started by chill., Jan 16, 2009.

  1. chill. macrumors 6502

    Joined:
    Sep 1, 2008
    #1
    hi, i'd like to write an apple script that can simulate key strokes for numpad keys.

    i can't find the key codes for any of the numpad keys, (numpad7 or numpad8 in particular).

    can anybody point me in the right direction?
     
  2. chill. thread starter macrumors 6502

    Joined:
    Sep 1, 2008
    #3
    update: thanks xnavxe that worked great

    a note for future reference, the file was compressed in .sit format and i had to download the unarchiver since stuffit wouldn't uncompress it correctly
     
  3. idonotliketostu macrumors 6502

    Joined:
    Feb 28, 2008
    #4
    Would you mind sharing your app script? I tried using the full key codes program but the code the program returned from the numpad was the same as from the 1 - 0 numbers. I need to hotkey some warcraft 3 shortcuts.. lol
     

Share This Page