How to handle with a default URL scheme

As you are mentioning AppleScript, I suppose you are working on Mac OS X. A simple way to register and use a custom URL scheme is to define the scheme in your .plist: <key>CFBundleURLTypes</key> <array> <dict> <key>CFBundleURLName</key> <string>URLHandlerTestApp</string> <key>CFBundleURLSchemes</key> <array> <string>urlHandlerTestApp</string> </array> </dict> </array> To register the scheme, put this in your AppDelegate’s initialization: [[NSAppleEventManager … Read more