Re: Can one script execute another?
Re: Can one script execute another?
- Subject: Re: Can one script execute another?
- From: Gil Dawson via AppleScript-Users <email@hidden>
- Date: Fri, 22 May 2020 17:30:07 -0700
That's it! I knew we could do it!
Thanks, Yvan!
--Gil
> On May 22, 2020, at 4:58 PM, Yvan KOENIG via AppleScript-Users
> <email@hidden> wrote:
>
> I'm not sure that I really understood your question
>
> Save
> on run
> display dialog "Running"
> end run
>
> in a file named "Say running.scpt" on the desktop.
>
> Create an other script whose code is:
>
> set ScriptPath to (path to desktop as text) & "Say running.scpt"
>
> run script (ScriptPath as alias)
>
> Execute it.
>
> You will get the dialog displaying "Running".
>
> At least it's what I get under 10.13.6.
>
> Yvan KOENIG running High Sierra 10.13.6 in French (VALLAURIS, France) samedi
> 23 mai 2020 01:57:54
>
>
>
> _______________________________________________
> 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
_______________________________________________
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