Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Key codes for function keys



Andre

A while back I was trying this, and largely by trial and error, came up with these:

F1 122
F2 120
F3 99
F4 118
F5 96
F6 97
F7 98
F8 100
F9 101
F10 109
F11 103
F12 eject--cannot access with AS

Some thoughts:

Be aware that in Panther, Expose uses F9, F10 & F11. Also F12 is used to eject a CD in earlier PowerBook keyboards. I'm now a little cautious about using function keys in a project, in case Apple comes up with some other nice little system utility (like Expose), and consumes more function keys.

Also, to access the function keys, you have to press the fn key in the far left corner of the keyboard, which usually means that two hands are necessary. If instead you do cmd-<number>, you can do it with just one hand.

MarkB

On 2003 Dec 11, at 05:58, Andri Marques Moura wrote:

Does anybody knows where I could find the key codes we can use in System Events for the fuction keys (F1, F2, F3...)?

Thanks

Andre Moura
Tech. Support
Audio & Video
Ass. Torre de Vigia
Sao Paulo - Brazil
_______________________________________________
applescript-studio mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-studio
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-studio mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-studio
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.