Re: Applescript URL protocol (Was applescript & HTML)
Re: Applescript URL protocol (Was applescript & HTML)
- Subject: Re: Applescript URL protocol (Was applescript & HTML)
- From: Graff <email@hidden>
- Date: Thu, 25 Mar 2004 14:41:07 -0500
One problem that I see: (from that link you included)
NOTE: In the initial release of Mac OS X
v10.3, the Script Editor will not
translate embedded scripts containing
high-ASCII characters such as: ,, or
Which is actually the main problem that most of us have with this list.
I'm sure that someone could build a small application that
"re-packages" scripts to all low-ASCII which when you re-run it on the
package would return it to high-ASCII but that's still a hack of sorts.
In fact, the way I'd go about that would be to make a program that
took the text of a script, did a base64 encoding on it, and then
presented you with the text that you could cut and paste somewhere.
Someone who received the message could then paste that text into a
base64 decoder and get back the original text of the script.
It's a bit of a pain but it should work.
As far as replacing the application identifier would change what
application the script gets loaded in, give it a try. I doubt it will
work because of the way it appears to be implemented but it's worth a
shot
-Ken
On Mar 25, 2004, at 9:56 AM, Brennan wrote:
This thread got me looking again at the applescript: url protocol
<http://www.apple.com/applescript/scripteditor/12.html>
...which was presumably intended to allow us to include code snippets
on
mailing lists such as this.
So far, people haven't really jumped on board, but one thing strikes me
about the 'application address'. Can I (for example) replace
'com.apple.scripteditor' with the application address of (say) Smile?
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.