Re: How to Run a "sudo" Terminal Command
Re: How to Run a "sudo" Terminal Command
- Subject: Re: How to Run a "sudo" Terminal Command
- From: "S. J. Cunningham" <email@hidden>
- Date: Sun, 10 Jan 2016 06:24:53 -0500
On Jan 9, 2016, at 7:20 PM, Christopher Nebel wrote:
> Two is to embed it in an application bundle as the main executable. You then have a double-clickable application that executes your script without involving Terminal. The easiest way to make one is probably to save an applet from Script Editor, then replace the “applet” executable in Contents/MacOS with your script. The name “applet” is specified in the bundle’s Info.plist, so if you want to name the file something different, edit the Info.plist (specifically, the CFBundleMainExecutable value) to match.
Cool. That is what I was looking for. Thanks!
Steve
------------------
OS X 10.6.8, AppleScript 2.1.2
_______________________________________________
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