Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Open external links in currently running browser' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Open external links in currently running browser
Authored by: Andrew J Freyer on May 07, '10 10:12:54AM

Personally, I think this hint is great. The other solutions that you link to require user interaction - this hint does not.

Plus, this is an excellent way to demonstrate how to register an applescript app with launch services.

---
Easier location-based computing: with Airport Location, app for 10.6. It's an early Beta, so please report bugs!

http://airportlocation.blogspot.com



[ Reply to This | # ]
Re: Open external links in currently running browser
Authored by: Uncle Asad on May 07, '10 02:17:06PM

I've found that on some versions of Mac OS X, the AppleScript app must also have a unique bundle signature (i.e. creator code, aka the CFBundleSignature key in the app's Info.plist *and* the second set of four characters in the AppName.app/Contents/PkgInfo file) in order for the default app setting to stick.

I've been doing this for a while, and my apps supported back to 10.3.9 at the time they were written, so I can't say for certain where that bundle signature was required and where it might have stopped, but it's important to keep that in mind. (It's also good practice to do so to prevent unexpected collisions, anyway, but it seems necessary when registering protocols or file types/extensions with LaunchServices.)



[ Reply to This | # ]