• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Persistence of properties in AppleScripts within FileMaker Pro scripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Persistence of properties in AppleScripts within FileMaker Pro scripts


  • Subject: Re: Persistence of properties in AppleScripts within FileMaker Pro scripts
  • From: John Delacour <email@hidden>
  • Date: Tue, 4 Mar 2003 20:25:28 +0000
  • Mac-eudora-version: 6.0a9

At 11:27 am -0800 4/3/03, Paul Berkowitz wrote:

> (* ~/library/preferences/myFMPprefs *)
-----
property prefs: {} as record
-----


Then have your script do this:

set _scriptfile to alias ("" & (path to "pref") & "myFMPprefs")
set _loadedScript to load script _scriptfile
set my _record to {a:1, b:2, c:3}
set the prefs of the _loadedScript to my _record
store script _loadedScript in _scriptfile with replacing
--
set _checkResults to load script _scriptfile
> get prefs of _checkResults


This looks interesting, John.

It's years old. It's been on my site for at least 3 years.

I think you would have to pre-define _record
in the calling script, or the first call to set 'my _record' will error.

I don't understand. Please explain.

JD
_______________________________________________
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.

  • Follow-Ups:
    • Re: Persistence of properties in AppleScripts within FileMaker Pro scripts
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: Persistence of properties in AppleScripts within FileMaker Pro scripts (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: IPTC text/image merge
  • Next by Date: Re: Flogging a dead horse
  • Previous by thread: Re: Persistence of properties in AppleScripts within FileMaker Pro scripts
  • Next by thread: Re: Persistence of properties in AppleScripts within FileMaker Pro scripts
  • Index(es):
    • Date
    • Thread