Jump to content

interval


Doom
 Share

Recommended Posts

i couldnt find any similar idea in this forum.

 

ive made a "cpu" workflow like this:

Nca:.png

 

and i would like that the cpu values refreshes automatically.

 

i tried this:

exec('osascript -e "delay 1" -e "tell application \\"Alfred 2\\" to search"')

and tried to make this asynchronous, but this doesnt work :/

 

it would be nice if i could create refreshing intervals. it would be like the terminal command "htop" and would be useful for some other workflows.

 

anything like this:

tell application "Alfred 2" to refresh after 1 second

or so :D

applescript/terminal shouldnt wait this one second, it should refresh automatically after 1 second (asynchronous)

 

and if the query changes, the refresh stops (the interval/timeout will be cleared)

 

kind regards

Edited by FirePanther
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
 Share

×
×
  • Create New...