Re: Run an AppleScript from within an AppleScript
Re: Run an AppleScript from within an AppleScript
- Subject: Re: Run an AppleScript from within an AppleScript
- From: Paul Berkowitz <email@hidden>
- Date: Thu, 05 Dec 2002 11:52:04 -0800
On 12/5/02 3:37 AM, "has" <email@hidden> wrote:
>
>
> I've trying all afternoon to work out how to get an AppleScript to run
>
> another AppleScript. Do I have to create a script application and run that?
>
> Or can I directly run the script on it's own?
>
>
Using Standard Additions:
>
>
set theScript to load script (alias "path to script here")
>
run theScript
>
>
or:
>
>
run script (alias "path to script here")
As you'll have seen by now, The Other Rob later said that he didn't want to
wait until the second script had finished before continuing with the first
script. This method makes you wait6 - I don't think there's any way of
avoiding that, is there? That's why I didn't suggest method but instead
telling the Finder to open the other application file, or launching and
running it 'ignoring application responses'. You can't do either with a
loaded script.
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.