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: Bill Cheeseman <email@hidden>
- Date: Wed, 11 Sep 2002 07:56:49 -0400
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.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont -
http://members.valley.net/croquetvermont
_______________________________________________
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.