Re: Can one script execute another?
Re: Can one script execute another?
- Subject: Re: Can one script execute another?
- From: Yvan KOENIG via AppleScript-Users <email@hidden>
- Date: Sat, 23 May 2020 01:58:22 +0200
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