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 15:53:41 -0500
> On Mar 27, 2019, at 3:44 PM, Stockly, Ed <email@hidden
> <mailto:email@hidden>> wrote:
>
> Try adding this to the top of your script:
>
> Use scripting additions
>
> "Path to" is from a scripting addition and that statement is needed when
> there are other "use …" statements in a script with scripting addition
> commands.
>
> Also a good place to get information about that lib, and other appleScript
> issues is: https://forum.latenightsw.com <https://forum.latenightsw.com/>
>
> Shane hangs out there and there's already a thread about PrefsStorageLib
>
> HTH,
>
> Ed
>
>
>
>
> From: AppleScript-Users
> <applescript-users-bounces+ed.stockly=email@hidden
> <mailto:applescript-users-bounces+ed.stockly=email@hidden>> on
> behalf of Laine Lee <email@hidden <mailto:email@hidden>>
> Date: Wednesday, March 27, 2019 at 1:36 PM
> To: AppleScript Digest <email@hidden
> <mailto:email@hidden>>
> Subject: Question about PrefsStorageLib and compiling problem
>
>> set tmpfile to (path to temporary items folder as string) & "exp_" &
>> (characters 3 thru end of ((random number) as string) as string)
>>
Thanks, Ed.
That won’t compile either. I can comment out any line that begins with “use”,
including the one you suggested, and the remaining line (set tmpfile…) compiles
just fine.
Laine
_______________________________________________
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