Re: Question about PrefsStorageLib and compiling problem
Re: Question about PrefsStorageLib and compiling problem
- Subject: Re: Question about PrefsStorageLib and compiling problem
- From: "L. Lee" <email@hidden>
- Date: Wed, 27 Mar 2019 16:09:24 -0500
On Mar 27, 2019, at 3:59 PM, Stockly, Ed < email@hidden> wrote:
use AppleScript
version "2.5"
use
scripting additions
set tmpfile
to (path to
temporary items folder
as
string) & "exp_" & (characters
3 thru end of ((random number)
as string)
as string)
—>>Macintosh HD:private:var:folders:rw:74_k6ty51zx3xnnfbtgmxh0c0000gn:T:TemporaryItems:exp_244797524407
Interesting. The above compiles for me in Script Debugger and Script Editor.
What error message are you getting when you try to compile?
I’m in Script Editor 2.11 in Mojave10.14.3.
Here’s what I see: "Expected class name but found application constant or consideration.” Probably some change in the framework I’m not aware of.
Laine Lee |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden