Jump to content

Is there a way to auto refresh results?

Recommended Posts

Hey guys,

I wrote a simple countdown program in Python and use it in Alfred with a script filter.

It basically shows the remaining time to a date.

Everythin works just fine, but the result is, of course, a fixed remaining time.

I was wondering if there is a way to refresh the result (for example every second) to have a live countdown?

I tried it with a loop/sleep in Python, but that doesn't work since the script doesn't end and Alfred seems to wait for that.

Thanks in advance!


Link to comment

Hey Vitor,

thanks for your reply.

Nice idea, it's sufficient for my use case, so thank you! However, a built-in function could suppress the complete reload of the Alfred window, of course.

I totally agree with you, it's not a must-have-feature coming from Alfred, I was just wondering whether I just missed it.

There might be some similar use cases to the ones mentioned in your post (top, wolfram; e.g. ping, download progress, ...), we'll see what the community will come up with.

Best regards!

Edited by tim.zimmermann
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...