Jump to content

Double Cmd to repeat invoking last Alfred action?


Recommended Posts

Hi,

Let's say I want to repeatadly call "Volume Down" alfred workflow (which I assigned "vd" to that).

Is it possible to use a hotkey like double CMD which finds and repeats latest alfred action or workflow like vd. 

 

The desired outome is:
* I use normal workflow trigger by calling Alfred and typing "vd". This lower the volume once.

*  I press double CMD 3 times, and each time it lowers the volume further.

 

Thanks for your time and help

Link to comment

Hi @ashkrosh, welcome to the forum.

 

3 hours ago, ashkrosh said:

Is it possible to use a hotkey like double CMD which finds and repeats latest alfred action or workflow like vd. 

 

No, that's not possible. Alfred little idea what a workflow is doing, and blindly re-running one might result in something very bad happening.

 

There are a couple of options. You can assign a Hotkey to your "volume down" action, so you can call it directly without needing to open Alfred first.

 

Alternatively, you can create a workflow that opens Alfred, and simulates the keypress ↑ to choose the previous query, then ↩ to action it. If you assign that to a Hotkey, you can then easily action the previous query again.

Edited by deanishe
Link to comment

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...