Re: AppDirectoryContents
Re: AppDirectoryContents
- Subject: Re: AppDirectoryContents
- From: Jonathan Piccolo <email@hidden>
- Date: Fri, 13 Oct 2006 20:36:49 -0400
A script bundle has .app at the end of it just like any other
application would.
Here's a sample path to a script named "Build profile info web page"
that's in my "Scripts" folder in the Library folder as seen from the
Terminal:
/Library/Scripts/ColorSync/Build\ profile\ info\ web\ page.app/
Contents/Resources/Scripts/main.scpt
I'm not a pathname expert by any stretch so perhaps some of the
better AppleScripters can chime in here, but just wanted to show you
that the .app extension is certainly included. Whether you can use
this pathname with single or double-quotes around it I'm not exactly
sure. Notice that in the Terminal it escapes out spaces with a
backslash in the pathname. I don't know if this is a requirement in
AppleScript when putting in a pathname.
Regards,
Jonathan Piccolo
---------------------------------------------------
email@hidden
http://www.callthemacwizard.com
On Oct 13, 2006, at 8:27 PM, DigitEL wrote:
On Oct 13, 2006, at 5:20 PM, Jonathan Piccolo wrote:
No, it must remain in the path reference because it IS part of the
pathname.
Regards,
Jonathan Piccolo
I guess my question at this point is how to reference a script in a
sub directory of a script bundle?
So far I can save to one but cannot resolve the reference to run
the script.
TIA again!
--
ForNow
DigitEL
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden