Jump to content

How to stop a running workflow?


Recommended Posts

I have made a very simple workflow that uses a script by another person to download an imgur album (https://github.com/alexgisby/imgur-album-downloader). The script is very simple. It gets the current url of safari tab with the imgur album and passes it as argument to the script.

 

My question is how can I stop a running workflow? Perhaps it would great to make a 'stop' action that when triggered will stop all alfred currently running processes. How can I do something like this? 

 

Here is the simple workflow if anyone want to take a look : https://infinit.io/_/qHP7MCA

 

In the case of this workflow, I would love to have it so that when I trigger the workflow and my active safari tab is not an imgur album, it will stop running the command. That way I can easily use the workflow and dismiss it if I think I no longer need the album or I just need the first few images of it.

 

Thank you for any help.

Edited by nikivi
Link to comment

You should be checking the URL yourself to make sure it actually points to an imgur album before you try to download it.

As for killing the workflow halfway through a download, why don't you have Alfred run it in Terminal/iTerm so you can CTRL+C when you've got the images you need?

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