Re: path to script file in script's folder
Re: path to script file in script's folder
- Subject: Re: path to script file in script's folder
- From: Christopher Stone <email@hidden>
- Date: Mon, 27 Jun 2016 19:24:16 -0500
On Jun 27, 2016, at 15:15, Mitchell L Model <email@hidden> wrote:
Two scripts, main.scpt and support.scpt, are in the same folder. For what reason are these in the same folder?
What is the best way to refer to support.scpt in a “load script file”?
Why are you using load script instead of use script?
With a saved script you can always use:
set supportScriptPath to (path to me as text) & ":support.scpt"
But there are better methods these days.
|
_______________________________________________
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