Jump to content

How to use post notification with run command?


Recommended Posts

Posted

Is it possible to display notification when a long-running background script exits? I tried run script action with post notification output but the notification is displayed without waiting the script output and the notification content was null.

Posted

Is it possible to display notification when a long-running background script exits? I tried run script action with post notification output but the notification is displayed without waiting the script output and the notification content was null.

 

I feel I must ask: is your Run Script object connected to your Notification? If not, make sure they are connected as this won't work otherwise.

 

If they are connected, the problem may lie in the code. Could you post a link to your workflow so it can be debugged?

 

Cheers :)

Posted

The script you reference is not included, so it’s not really clear what the problem might be, as we’re not seeing the code (we don’t even know what language it uses).

Apart from that, a solution you could use that would (likely) work right now is to implement terminal-notifier on your workflow, and let that output the notification.

Posted

Hello Tyles,

 

Of course it's connected. :) here is the extension file.  https://mega.co.nz/#!oFIhgahC!HONZIX7qNf8BhIl9yvD0Mwz15UQIzI-AZwONm9TGQWM

 

That application more than likely isn't getting run because Alfred doesn't import profile. Therefore, simply typing in 'youtubemp3' means nothing if that application isn't available in the workflow's folder. Try providing the full path to the application. 

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