Can I remove the first line of a notification for a shell action?

When I run this action:
Image-000761
I get this notification:
Image-000762
Since I have problems reading all text in the short time allowed, I'd like to remove the first line:
Image-000762 copy
Is this possible?

I doubt that it is possible, since these are standard MacOS notifications.

Ideas:

  • Change “Display results in a notification” to “Display results in a window”.
  • Skip the first line when reading.
  • More coffee.

Or save the results to a variable, then use array references to only display lines two and three in your notification:

That will get you this:

You wouldn't use a Set Variable like I have in the example; you'd just set the shell script results to be saved to a variable.

-rob.

1 Like

Just to add another suggestion to the list, you could change the option to Display results large and use the Set Action Delay to adjust the time for large text display.

Although I'm noticing now you might get a stack of these notifications consecutively for which this solution would not be helpful, but I'll still mention it in case it's useful for someone because I tend to really like display large text for a lot of applications/contexts and set action delay makes it even more versatile.