Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread Display Modes
Old Oct 15, 2010, 09:49 PM   #1
macrumors newbie
Join Date: Oct 2010
Modify function key behavior (AppleScript?)

I use Safari and Firefox, but I rarely have both of them running at the same time. I would like to press a function key (say, F1) and have the system switch to whichever browser happens to be running and bring it to the front. Is this possible, perhaps with AppleScript?

I currently have F1 assigned to Safari and F2 to Firefox (via DragThing), and it works as long as I remember which browser is running. But too often I press the wrong function key and then the other browser launches, which is not what I want.
drizzler is offline   0 Reply With Quote

MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Modify a key-value pair of an NSMutableDictionary that is represented by an NSData moonman239 iPhone/iPad Programming 1 May 2, 2014 01:56 PM
How to change the behavior of '英数' key on Japanese MBP? rjrlbcgk MacBook Pro 0 Jun 27, 2013 01:48 AM
Modify how delete key works mcsolas Mac Peripherals 6 Mar 12, 2013 12:24 PM
Applescript help for a beginner: Trying to square and modify image dimensions o0olliw Mac Programming 6 Nov 16, 2012 04:04 PM
Is there a way to reassign the function of a key? rylaine MacBook Pro 0 Sep 6, 2012 05:32 AM

Forum Jump

All times are GMT -5. The time now is 10:48 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2015, MacRumors.com, LLC