Re: Unble to run Script based application
Re: Unble to run Script based application
- Subject: Re: Unble to run Script based application
- From: Axel Luttgens <email@hidden>
- Date: Tue, 12 Feb 2008 17:49:22 +0100
Le 12 févr. 08 à 11:07, Duttamajumdar, Amritendu a écrit :
Hi All,
I have an Apple script based application.
This application (<myApplication>.app) is stored on a Windows based
server.
I can run this script from the Windows based server on to my
machines having Mac OS from 10.1 to 10.4 without any glitch!
However when I try to access the same server from my machine with
Mac OS 10.5 and try running the application I get
“Press Run to run the application or press Quit to quit.” (<
myApplication >.app is a run only application )
After this the script based application stops responding and I have
to forcefully quit the application.
Can any one tell me what the possible cause of this is??
Another thing, when I access the connected server from the Terminal
and check the permissions set for <myApplication>.app on machines
with OS below 10.5 I get “-rwx------“ however on a machine with Mac
OS 10.5
The file permissions are set as “-rwx------@”. What does the “@”
signify…I am a bit lost here and Googling around didn’t bail me out!!
Hello Amrit,
Have a look at the man page for ls(1) on a Leopard box.
With 10.5, ls has been extended so as to report about extended
attributes; the @ in the listing indicates that the item has such
attributes.
To get more info, you may for example execute:
ls -al@
instead of:
ls -al
It is very likely that you saved the applet as an application, and
that it thus has a resource fork (which, by extension, is considered
as an extended attribute too).
As far as how well files with resource forks on a Windows server
behave against Leopard, I don't know (someone?).
Perhaps could you try to save the script as a "script bundle" or an
"application bundle" instead of an "application" (but test for the
compatibility with earlier OSen)?
HTH,
Axel
_______________________________________________
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