PR. Posted March 17, 2013 Share Posted March 17, 2013 Hi, I'm currently experimenting with Workflows and wanted to setup a command to open all my commonly used applications at once and then hide most of them (they mostly need to be open for syncing or email alerts). I used the Launch Apps / Files option and that opens everything up ok, but I can't hide certain windows with it. Ideally I want to open Chrome, Mail, Evernote, Pocket, Reeder, Tweetbot, Colloquy, and iTunes but then hide Chrome, Mail, Evernote, Pocket, Reeder, and iTunes. I'm guessing this is something that I'd need to do in AppleScript but have no idea where to start. Thanks Link to comment
bayoyong Posted March 21, 2013 Share Posted March 21, 2013 Me too. Would like to be able to hide apps with the same hotkey I use to show them. Used to be able to do it in v1. Link to comment
Weaselboy Posted March 21, 2013 Share Posted March 21, 2013 PR> I use an Applescript (below) to do this. Everything above that "System Events" line will be hidden, and apps launched below that line will not be. So in my example, everything but Safari is hidden. on alfred_script(q) tell application "Mail" to launch tell application "Messages" to launch tell application "Calendar" to launch tell application "iTunes" to launch tell application "Contacts" to activate tell application "Reeder" to activate activate application "Finder" tell application "System Events" to keystroke "h" using {command down, option down} tell application "Safari" to activate end alfred_script Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now