AppleScript to paste URL

With the bug of feedback reports not being able to be made into links properly on this forum (the mechanism wants to add “http://” to schemes it doesn’t recognize), I decided to make things easier by writing an AppleScript that pastes a link properly. For example, if you copy a link:

www.something.com

It pastes it as:

[url=http://www.something.com]some label[/url]

(The script brings up a dialog asking you to fill in “some label”.) And it you have a feedback case like this:

<[https://xojo.com/issue/24563](https://xojo.com/issue/24563)>

It turns it into this:

[url=http://feedback.realsoftware.com/case/24563]some label[/url]

I tied this to a key through FastScripts so I can easily paste a link I copied from elsewhere using command-shift-V.

This script is Mac-only, of course, and requires the free Satimage OSAX. If anyone is interested, post here and, if enough people respond, I’ll post a link.