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).
Download: Atom New Window v1
- Unzip the archive and place it in Applications folder. Right-click the
Atom New Windowicon and select Open and then allow OS X to open this (as it is downloaded from internet).
- Newer OS X versions require you to enable Assistive Access for the app. Go to System Preferences -> Security -> Accessibility and then enable this app.
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.