"Store Script" Command
"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.