Jump to content

Allow to create hotkey or external trigger to 'Quit apps'


Recommended Posts

I use this feature very often and would really love to assign a hotkey to it. I can emulate opening of alfred and typing 'Q ' to it and then start typing what app I want to quit but this is quite ugly.

 

Ideally I wish I could just have 'quit apps' object and on entering it I get a list of all active applications like here but without 'Q' in input : 

 

qS6ILjR.png 

 

This would be really wonderful to have. Thank you.

Link to comment
Share on other sites

It's a hack but work. In this example I set the keyword to quit app to "xx"  (you can change to a pretty emoji icon if you want, you will need to do some Googling for how to input unicode in applescript)

 

Create a super simple workflow

Hotkey to trigger (Show list of app to quit)  -> Your hotkey to trigger Alfred -> then a applescript to type the "xx" keywork

 

It's more or less a macro hack

Screen Shot 2017-06-29 at 7.56.26 AM.png

Edited by dunkaroo
typo
Link to comment
Share on other sites

@nikivi Given how straightforward a hotkey trigger set to pop up Alfred is, I'm not sure how much simpler a solution you want? The workflow literally consists of a single Hotkey object, with the action "Show Alfred" and the text plus a blank space filled in as argument.

 

I've used the keyword "quit" there because I've left mine to defaults, but you can change it to "q" if that's what you're using.

 

Screen Shot 2017-06-29 at 16.14.27.png

 

Cheers,
Vero

Link to comment
Share on other sites

Yeah that is what I meant. You can do this but but I just dislike how there will be 'quit' there as query every time I call this object. It would be so much nicer to have a clean query and just a list of applications that are running.

 

It's mostly due to aesthetics and it looking better with the separate object approach. 

Link to comment
Share on other sites

@dunkaroo Glad it's helpful :) I try to publish tips as often as possible to help everyone discover creative uses for workflows and features!

 

You'll find a stack on the blog:

https://www.alfredapp.com/blog/category/tips-and-tricks/

 

And more in-depth tutorials on the Guides and Tutorials page:

https://www.alfredapp.com/help/guides-and-tutorials/

 

Cheers,
Vero

Link to comment
Share on other sites

  • 1 year later...

@nikivi Did you ever find a solution to this issue? Like yourself, it drives me crazy, too.

 

I'd love to attach a hotkey directly to the Quit function. Just searching in Alfred using the keyword brings in unnecessary clutter.

 

I've tried one or two workflows in the past - from Packal, I think - but I remember them being unusually slow, at least compared to Alfred's built in Quit function.

 

Thanks!

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...