• 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
"Store Script" Command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"Store Script" Command


  • Subject: "Store Script" Command
  • From: Jeffrey Berman <email@hidden>
  • Date: Sat, 05 Oct 2002 17:34:21 -0500

I have a script in which a property is to be stored in a separate file using
the "store script" command. The relevant syntax look like this:

script DataFile
property DataRecords : {}
end script

set DataRecords of DataFile to CurrentData
store script DataFile in file FilePath replacing yes

The script works fine when run from within the Script Editor. However, if I
make and run the script as an Applet or run it as a compiled script from the
Script Menu, the data in the file specified on the "store script" command is
never updated with current values.

I have used comparable syntax on earlier versions of the OS, but this is the
first time with OS 10.2.1. Is there something I should be doing differently
or is this a known problem with the Jaguar version?

-Jeffrey Berman
_______________________________________________
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: "Store Script" Command
      • From: John Delacour <email@hidden>
  • Prev by Date: Re: bytes to megabytes
  • Next by Date: Attributes on this node error on soap call
  • Previous by thread: Re: Recording in the script editor - Jaguar
  • Next by thread: Re: "Store Script" Command
  • Index(es):
    • Date
    • Thread