PDA

View Full Version : Need help writing an AppleScript




diccen
Oct 10, 2009, 01:23 AM
Hello codejunkies,

I need to get something done that I THINK is best done with an applescript. As my programming skills are non-existing and for you guys it's probably a script that's written in 5 mins I'm coming here for help.

In day to day use of my MBP I use f1-f12 according to the special features that are printed on them. When I am editing video in Final Cut Pro however I want those keys to act as standard function keys. You can switch between those 2 in the keyboard preference pane. Is there a way to automate this action?

In a nutshell: When I open Final Cut Pro I want to use the f1-f12 keys as standard function keys, when I close Final Cut Pro I want OS X to switch back to using f1-f12 for the special functions printed on them.

Anyone who can shed a light on how to solve this or point me in the right direction?

Tnx in advance



Ti_Poussin
Oct 10, 2009, 11:19 AM
why not just use some keyboard shortcut for specific application in the pref panel?

If you're using snow leopard, System pre / Keyboard / Keyboard shortcut, you may want to map your key for different behaviour, alloc the exposer and stuff like that a weird combo key combo, map the F key to desired behaviour in all specific application (Final Cut), and other applications may map the F to the weird combo key.

If that seem to much problem, take a look at iKey, it's automator supercharged:
http://www.scriptsoftware.com/ikey/

You may check this page for more information on where the info is stored:
http://www.erasetotheleft.com/post/mac-os-x-key-bindings/