Re: Saving a property after running a script remotely
Re: Saving a property after running a script remotely
- Subject: Re: Saving a property after running a script remotely
- From: Paul Berkowitz <email@hidden>
- Date: Wed, 11 Sep 2002 07:46:15 -0700
On 9/11/02 4:56 AM, "Bill Cheeseman" <email@hidden> wrote:
>
on 02-09-10 11:20 PM, Paul Berkowitz at email@hidden wrote:
>
>
> So - does anyone know a reliable way for the running Main Script to save its
>
> own lastRun property - preferably from inside itself but stored from the
>
> Trigger script would be OK too if reliable. If I have to, I guess I'll do
>
> this as an applet instead, but it really is more convenient as a compiled
>
> script in Script Menu. Is there a way?
>
>
I have a faint recollection that this was the issue I covered in one of my
>
tips in the "Tips" chapter of The AppleScript Sourcebook. It was something
>
about providing a "context" for the loaded script by double-nesting it in
>
script objects. I think I did this to make things work as I wanted in OSA
>
Menu.
>
>
But my memory could be playing tricks on me.
>
>
Ah, here it is. It's the "Script Servers" tip (or "Subroutine Handlers in
>
Script Libraries and Script Servers"). Not right on point, but it seems to
>
me at a quick glance that it might contain some useful ideas.
Thank you, Bill. I hadn't read this when I wrote my last message. I'll go
take a look now. I've always wanted a good reason for using script objects -
maybe this is it!
--
Paul Berkowitz
_______________________________________________
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.