Atom New Window (via AppleScript)

sept. 22nd, 2015 | Filed under Mac, Programming

Again, building on my previous scripts it was dead to make a script that creates new window for Atom editor.

This is best used with Spotlight or Alfred to quickly create new window in current space (even if another window was open in some other space it will not switch there).

Alfred activating Atom New Window script

Alfred activating Atom New Window script

Download Atom New Window

Installation

  1. Unzip the archive and place it in Applications folder. Right-click the Atom New Window icon and select Open and then allow OS X to open this (as it is downloaded from internet).

  2. Newer OS X versions require you to enable Assistive Access for the app. Go to System Preferences -> Security -> Accessibility and then enable this app.

Go to System Preferences > Security > Accessibility to enable Atom New Window to control application menus.

Go to System Preferences > Security > Accessibility to enable Atom New Window to control application menus.

Of course, you are advised to explore the script yourself: right click the app icon and select Show Package Contents and then open the file Contents/Resources/Scripts/main.scpt with Apple Script Editor to view it’s contents.

PS. In related posts section you can find similar scripts for other apps.

Be Sociable, Share!
Tags:
No comments yet.