Re: AppleScript dictionary
Re: AppleScript dictionary
- Subject: Re: AppleScript dictionary
- From: Walter Ian Kaye <email@hidden>
- Date: Fri, 12 Sep 2003 16:40:37 -0700
At 05:06p -0600 09/12/2003, Doug McNutt didst inscribe upon an
electronic papyrus:
At 23:34 +0200 9/12/03, Emmanuel wrote:
>At 11:53 AM -0600 12/09/03, Doug McNutt wrote:
>>It would be nice to be able to send a quick email or even an
instant message containing the text and ask an unsophisticated user
to "run this" by dropping the text file, or the clipboard, on a
previously prepared APPL (A nice name would be AS_cc.) that passes
the commands to Script Editor.
>
>Do you mean, something like a droplet with:
>
>--------- pseudo-code
>on open theFile
> run script (read theFile)
>end open
>---------
>?
Actually, I was thinking a little bit more than that. And. . . I'll
bet you're about to tell me that Smile will do it all. I'd like to
drop the text and have the result be a compiled script in APPLet
form that can itself accept dropped files for execution.
If you want something to accept dropped text that's simple to use,
you'll need to build an app in either AppleScript Studio or FaceSpan,
as you'll need a window to accept the dropped text. (The only
alternative would be to use a folder action, but that would require
setup and thus not be as simple for the users. It would also be
messy, what with accumulating clippings and all.) FaceSpan 4.0 is in
public beta, so you might want to check it out.
As for the creation of the droplet, you would need a "template"
droplet into [a copy of] which you could store the compiled script.
This method is in fact used by AIM, which has a template droplet
buried within its bundle.
-boo
_______________________________________________
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.