I regularly switch between a single and dual monitor setup, and have two respective Workspaces setup for each of Photoshop, Illustrator, and InDesign (CC 2015). I'd like an Alfred workflow that will automatically switch all three programs to a specific Workspace setup at once (and reset them)?
I found this Applescript through a search, which does work for Illustrator, but simply changing the application name doesn't seem to work for Photoshop or InDesign.
set targetWorkspace to "One Monitor"
tell application "Adobe Illustrator"
do javascript ("switchWorkspace ('" & targetWorkspace & "');")
reset workspace
end tell
Any suggestions would be appreciated!