Re: X Code load script question
Re: X Code load script question
- Subject: Re: X Code load script question
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 31 Oct 2005 08:09:34 -0800
- Thread-topic: X Code load script question
On 10/31/05 5:37 AM, "email@hidden" <email@hidden> wrote:
> Is it possible to "load script" files that are in the project. The
> AppleScript extension to file names causes a hiccup, unless the
> extension is .scpt (in which case X Code does not treat the file as a
> well formed file and does not highlight its code properly).
But you won't need to load scripts in the _project_. You'll be loading
scripts in a _build_. And all the .applescript files in your project will be
turning into .scpt files in any build made from it, so it works just fine.
Use the 'path for script' command like this:
set extraScript to load script POSIX file (path for script "Extra Script
Name" extension "scpt")
Questions about AppleScript Studio should be sent to the applescript-studio
mailing list, rather than here.
--
Paul Berkowitz
_______________________________________________
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