Re: applescript url
Re: applescript url
- Subject: Re: applescript url
- From: Gary Lists <email@hidden>
- Date: Sun, 29 Jun 2003 22:22:03 -0400
On or about 6/29/03 9:39 PM, Timothy Bates wrote:
>
>> Is it just me, or does this have "security hole" written all over it...?
>
>> http://www.apple.com/applescript/script_editor/url/index.html
>
> Now the race is on for Smile and Script Debugger to adopt it too, as well as
>
> getting the OS to provide a way to redirect it to the script editor of our
>
> choice. ;)
>
>
>
Personally, I would rather that someone had spent the time taken on this
>
frippery, to fixing the mailing list. The number of times I have wished for
>
a web page to edit a script for me is countable on the toes of one hand.
>
>
PS: Script Debugger has a fantastic script -> html feature. It will even use
>
CSS if you edit the output script.
>
>
Tim
Yes, and Peter Bunn's "Missing Link" is a script set that already (and for a
long time) has provided -- or can provide -- the exact same functionality,
with the added bonus that since it is an AppleScript itself, you can do
anything you want with the "url" -- send it to any application, pass data
along with it, build handlers to act on the data as handler
variables/parameters, etc.
This is most certainly NOT a new thing that Apple is "unveiling". I came to
know Peter exactly because I was writing my own scripts, that sent their own
"pseudo-protocol"[1] (mine is called gary:// :) that was also
"registered with the OS" [did Apple think that we didn't know that meant,
simply, adding it to Internet Config?].
Tim, this is less than frippery, it is a recycling of a very old idea, and
one that has been used by countless folks -- as I quickly found out. Peter
has even posted, to this very mailing list, details on his method. Perhaps
this idea has made its way from list to OS...?
I did counsel Peter through the course of our personal email over those
months, _not_ to charge a fee for his script (which he now does not) and I
still think that is a great idea. He does read this list, in digest form,
so maybe he'll get a kick out of seeing that it IS a powerful method of
locally controlling scripts via any invented pseudo-protocol. (The last
time we spoke directly about it, he was a little "bummed" that no one seemed
to give his method a second look. At the time, I believe you could have
counted the downloaders on two toes of one of Tim's hands!)
My evolving application of the method that I thought I was so clever in
thinking of has come to be a means of getting URL-based data into FileMaker.
This "new" idea is not "new" at all. Go ahead and create your own set of
handlers to receive your URL-events (which I call them) and you can do scads
of things with AppleScript just by clicking a link.[2]
--
Gary
[1] I don't know if there is even the need for a different name for these
kinds of "links", so I use the term 'pseudo-protocol'. There may be a more
formal name than the one I am using. Actually, they are "real" protocols in
the sense that anyone can add any "X://" protocol-like string to IC and have
it run any script they want. They are 'pseudo' only in that they are not
registered with any 'universal' authority.
[2] I have an HTML page on my local drive, with many of my
"gary://somescript.app" links, that I use to launch scripts from Internet
Explorer bookmarks. My main applet has an app type of 'gary' and it is
"registered with the OS" (i.e. I opened Internet Config and added it :) to
receive the 'gary://' protocol. From there, the skies the limit.
____________________________________________________________________
MacOS 9.1 / "9 is Fine"
OMM: osa:AS 183 / osa:JS 103 / FM 55 / BB 612 / Smile 188
_______________________________________________
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.