Re: Paths from my Mac, hidden, compiled into my script?
Re: Paths from my Mac, hidden, compiled into my script?
- Subject: Re: Paths from my Mac, hidden, compiled into my script?
- From: Nigel Garvey <email@hidden>
- Date: Fri, 22 Nov 2013 20:18:28 +0000
Jerry Krinock wrote on Fri, 22 Nov 2013 11:51:13 -0800:
>I codesigned (“code”-“signed”) an AppleScript application (.app), zipped
>and uploaded it to my server. The user downloaded it and reported to me
>that, at the point where it was supposed to create a directory on his
>desktop, it threw an error indicating that the directory
>“/Users/jk/Desktop/…” did not exist. I am “jk”, and that is *my*
Desktop.
It sounds as if you've compiled the path as a property, something like
this:
property folderPath: POSIX path of ((path to desktop as text) & "…")
If so, you need to use a run-time command instead:
set folderPath to POSIX path of ((path to desktop as text) & "…")
NG
_______________________________________________
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