Create MediaWiki and RTF links to iPhoto pictures

I use iPhoto for organizing my pictures. I have written the following AppleScripts in order to have the ability to create direct links to them.

You should have selected one or more pictures in your iPhoto library before executing the script. The code for the links is sent to the clipboard and you may paste it to a MediaWiki page or a RTF document. Afterwards, every time you click a link, an AppleScript editor window opens with the required AppleScript code inside it. Finally, you may press cmd + R (executes the script), cmd + W (closes the window) and cmd + D (without saving) or have the same effect by executing the AppleScript of this post.

The AppleScript code for creating MediaWiki links is the following:

The AppleScript code for creating RTF links is the following:

23
Dec 2011
COMMENTS No Comments