Re: Resources
Re: Resources
- Subject: Re: Resources
- From: Stan Cleveland <email@hidden>
- Date: Fri, 30 Sep 2011 15:09:36 -0700
On Sep 30, 2011, at 11:01 AM, Ezekiel Elin wrote:
> How can I open a file I put in the resources folder for an applescript application?
>
> http://www.ezekielelin.com/img/image/Screen Shot 2011-09-30 at 1.59.51 PM.png
>
> on the right in the image, I wish to be able to open anything in the scripts folder (or any folder I create)
Hi Ezekial,
If you're looking into the bundle of the currently executing AppleScript, this is all you should need:
set mainScriptPath to path to resource "main.scpt" in directory "Scripts"
--> MacHD:Users:stanc:Desktop:MyScript.app:Contents:Resources:Scripts:main.scpt
Stan C.
_______________________________________________
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
References: | |
| >Resources (From: Ezekiel Elin <email@hidden>) |