• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: path to script file in script's folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


Hey Mitchell,

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.

--
Best Regards,
Chris

 _______________________________________________
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: 
 >path to script file in script's folder (From: Mitchell L Model <email@hidden>)

  • Prev by Date: Re: path to script file in script's folder
  • Next by Date: Re: type string vs. text
  • Previous by thread: Re: path to script file in script's folder
  • Next by thread: Re: path to script file in script's folder
  • Index(es):
    • Date
    • Thread