AppleScript to launch application with command line parameters
AppleScript to launch application with command line parameters
- Subject: AppleScript to launch application with command line parameters
- From: Bill Vlahos via AppleScript-Users <email@hidden>
- Date: Tue, 21 Apr 2020 22:56:07 -0700
The following AppleScript works in the Script Editor to open a new copy of the
zac application.
do shell script "/Applications/zac.app/Contents/MacOS/zac new”
However, when run it from the Script Editor or I save it as an Application and
run it, my target application (zac) opens but the AppleScript application does
quit even if I don’t check the box to Stay open after run handler.
The “new” command line parameter will open another instance of the zac
application.
How do I get the AppleScript to open zac with the “new” command line parameter
and then have the AppleScript quit?
Thank you,
Bill Vlahos
_______________________________________________
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