We’ve covered writing basic AppleScripts in the past, but if you’re writing an AppleScript that requires administrator privileges to run properly, the script may not function correctly without a username and password present. In this post, we’ll show you how to correctly format your AppleScripts that require authentication.
Just imagine, a little over 20 years ago we were barely able to drag a mouse across the screen, let alone get around a desktop interface without typing in a few command lines. Forunately, things have drastically changed, but the command line still provides a powerful way of interacting with your Mac.
Unfortunately, most Mac users never dive into Unix because of how intimidating it can seem at first. But familiarizing yourself with it -- even a little bit -- is a good idea for your coding arsenal. We rounded up some of the most utilized Unix commands you should know so you can get started tinkering with Terminal.