Re: Error -15266
Re: Error -15266
- Subject: Re: Error -15266
- From: Luther Fuller <email@hidden>
- Date: Tue, 29 Apr 2008 08:22:24 -0500
On Apr 29, 2008, at 3:24 AM, John Baltutis wrote:
On 4/28/08, Luther Fuller <email@hidden>wrote:
Some more info ...
I tried creating an application bundle with Script Editor. The app
works, but has permissions ...
Me, Read & Write
(unknown), Read only
everyone, Read only
Why does "(unknown)" keep showing up when I have a problem?
Common problem and many posts at Apple Discussions. This is the most
recent:
<http://discussions.apple.com/thread.jspa?messageID=7118064>, If
that doesn't
provide an answer search the Mac OS X v10.5 Leopard forums for
"unknown AND
user" and check out the other postings.
I've taken a look at that thread and it looks promising. I'll do the
details later today. Thanks!
Application bundles created by Script Editor have the permissions
shown above ... and all items in the package contents have the same
permissions.
I created an application bundle with Smile and found that it and all
items in its contents have the permissions ...
Me, Read & Write
admin, Read & Write
everyone, Read & Write
Why the difference and which is correct?
I always create an application bundle with ...
set filetype to "application bundle" as Unicode text
...
tell application "Script Editor"
...
set docRef to a reference to first document
if |stayOpen| of projectParams then
save docRef in objectRef as filetype with run only and stay open
without startup screen
else
save docRef in objectRef as filetype with run only without stay
open and startup screen
end if
I've looked for a similar command in Smile, but didn't recognize
anything that would save a script as an application bundle.
Some years ago, I also tried using osascript instead of Script Editor.
It worked, but there was no way to distinguish an editable script from
a run only application bundle.
After the latest changes, "Script Bundle Tool source" was able to
compile "Script Bundle Tool source" and I now have a working (I think)
copy of "Script Bundle Tool.app"
_______________________________________________
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