AppleScript

Search AppleScript

How to Trigger an Alert Dialog Pop-Up from Command Line in Mac OS

Sep 6, 2016 - 8 Comments
Trigger an alert dialog from command line on Mac

Ever wished you could make a dialog alert pop-up on the Mac by way of the Terminal? Well it turns out that you can with the always useful osascript command, which allows execution of AppleScript from the Terminal. For those who spend a lot of time at the command line of MacOS, this can be … Read More

Run AppleScript from the Command Line in Mac OS X with osascript

Aug 19, 2016 - 3 Comments
Terminal in macOS

Mac users can run AppleScript from the command line if desired, either by running a script file directly or by giving the osascript command direct plain text script statements. This can be useful for many purposes, but should be particularly nice for users who spend a lot of time in the command line or who … Read More

Auto Connect to VPN on Boot & Login in Mac OS X

Aug 10, 2016 - 38 Comments
Auto connect to a VPN on Mac

If you use a VPN with a Mac for either work or personal reasons, you may wish to have the Mac automatically connect to the VPN service when the Mac is booted or upon login. Or maybe you just want the VPN to automatically reconnect if the connection drops and disconnects. This is easily accomplished … Read More

Instantly Eject All Mounted Drives & Disks from the Command Line in Mac OS X

May 22, 2014 - 18 Comments
Eject all mounted volumes from the command line of Mac OS X

The next time you’re at the command line and need to eject every single mounted volume, hard drive, disk, disk image, and/or external drive attached to a Mac, you can instantly eject them all in one fell swoop with a handy osascript command string. This is great if you work frequently in the Terminal and … Read More

Sleep a Mac from the Command Line

Jul 22, 2012 - 21 Comments
Mac Terminal icon

Sleep can be invoked instantly on any Mac through the command line by running the pmset command or a very simple AppleScript run in Mac OS X. This can be useful for many reasons, whether scripting, system administration, remote management with SSH, or perhaps you just live in the command line. We’ll show you two … Read More

Turn a Python, Perl, Ruby, or Shell Script Into a Self Contained Application for Mac OS X

May 22, 2012 - 3 Comments
Script turned into a self contained Mac OS X app

Platypus is an excellent utility that lets you turn virtually any script into a self-contained Mac OS X application. Free and remarkably simple to use, Platypus will support just about any shell script, Perl, Python, PHP, Ruby, Tcl, AppleScript, Expect, and even other scripting languages.

How to Remotely Sleep a Mac from Anywhere with SSH or an iPhone

Mar 14, 2012 - 26 Comments
Remotely Sleep a Mac

Ever been away from your Mac and wished you could put it to sleep remotely? Maybe you accidentally left a Mac on at home or at work, or maybe you just left a Mac running so a download could complete. You don’t have to leave it running while you’re gone though, here are two different … Read More

Download Photo Stream Photos to a Folder in Mac OS X

Feb 11, 2012 - 13 Comments
Download Photo Stream Images to a Folder in Mac OS X

Photo Stream is a nice feature of iCloud that pushes all of your pictures automatically to your other iOS devices and your Mac with iPhoto or Aperture. If you haven’t used it before, this means if you take a picture on your iPhone, it will automatically show up in the Photo Stream on your iPad, … Read More

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates

Tips & Tricks

News

iPhone / iPad

Mac

Troubleshooting

Shop on Amazon to help support this site