vitor 861 Posted July 15, 2019 Share Posted July 15, 2019 (edited) Call qapps and all apps excluding the ones you set in the keep_alive Workflow Environment Variable will quit. The Finder and Alfred (including Alfred Preferences) are added to the exclusion list by default, unless you set their kill_ variables to true. You can exclude extra apps on a per-run basis by adding them as arguments. Calling with ⌘↵ will also exclude the frontmost app. Use the exact application names as they present themselves to the system. To prevent multiple apps from quitting, separate their names with commas. qprocesses will kill all processes, subject to the same keep_alive and kill_ settings, meaning even things in the background that you don’t see will be asked to quit. The External Triggers allow to temporarily override which apps to keep alive by passing them as the argument. Note both options ask the apps to exit (SIGTERM) instead of telling them (SIGKILL). If you need to force individual processes to terminate, use ProcessControl instead. Download | Source Edited January 11 by vitor CuteCat, JJJJ and cands 3 Link to post
Eric Lin 2 Posted July 17, 2019 Share Posted July 17, 2019 This is really useful. Thank you for making this workflow! vitor and CuteCat 2 Link to post
bubbabr 1 Posted July 27, 2019 Share Posted July 27, 2019 Thanks vitor, just what I needed. Link to post
vitor 861 Posted June 14, 2020 Author Share Posted June 14, 2020 Update. Added External Triggers. To update, download the latest version (same URL) or wait a few days and it’ll prompt you to on next usage, since it uses OneUpdater. Link to post
mgs1000 0 Posted June 18, 2020 Share Posted June 18, 2020 Sorry to be a dummy - where do I enter the names of the apps to keep alive? Link to post
Vero 445 Posted June 18, 2020 Share Posted June 18, 2020 @mgs1000 Here's where you can set your environment variables for the workflow: https://www.alfredapp.com/help/workflows/advanced/variables/#environment Link to post
mgs1000 0 Posted June 18, 2020 Share Posted June 18, 2020 Actually - even more of a dummy - since the update it doesn't seem to quit the apps anymore. Is there an input needed from me? Link to post
vitor 861 Posted June 18, 2020 Author Share Posted June 18, 2020 (edited) 3 hours ago, mgs1000 said: Actually - even more of a dummy - since the update it doesn't seem to quit the apps anymore. Is there an input needed from me? I’m confused. First it seemed like you’d never used the Workflow and now you’re saying it’s not working anymore, implying you had it working previously. Which is it? I’ll need to know your steps so I can help you debug. Edited June 18, 2020 by vitor Link to post
vitor 861 Posted August 20, 2020 Author Share Posted August 20, 2020 Update. New icon, and Alfred (including Alfred Preferences) now have their own exclusionary variable like the Finder. To update, download the latest version (same URL) or wait a few days and it’ll prompt you to on next usage, since it uses OneUpdater. Link to post
vitor 861 Posted January 11 Author Share Posted January 11 Update. You can now add apps to the keep_alive list on a per-run basis, by adding them as arguments on the Keyword. Also, ⌘↵ is a shortcut to add the frontmost app. To update, download the latest version (same URL) or wait a few days and it’ll prompt you to on next usage, since it uses OneUpdater. Link to post
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