Use URL redirection services to distribute AppleScripts

Jul 06, '04 09:39:00AM

Contributed by: orpy

You're probably already aware of the applescript:// URL scheme (URL Protocol Support) and how easy it is to use it to get scripts into the Script Editor, without having to cut and paste and repair broken lines. But, rather than mess about saving the data as links on web pages, you can use some URL redirection services to store the scripts on their servers, and get them into Script Editor using a nice short URL. I've adapted Apple's demo script (from the above-linked page so that it will convert a script that you've copied to the clipboard and automatically submit it to TinyURL.

To see how easily this works (and if you use Panther), just click on the URL below, and the script will appear in the Script Editor:

http://tinyurl.com/2ncqg

If you don't have Panther, or you'd rather see a text version of the script, you can see it here. There's also another version of the script that will generate file:/// URLs, which can be used to help people locate hidden or hard-to-find files and folders on their own Macs.

Comments (3)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20040702125401655