2

Doc has reference to how to display a notification alert but not sure if there is an option to display a message in status bar that can be updated like a price ticker.

1

There is not a way to use AppleScript to put something in the menu bar, as far as I can tell, and I looked for a long time.

There are two apps that will put stuff into the menu bar, based on scripts of various kinds:

  1. BitBar
  2. TextBar

BitBar made a big splash a few years ago, but it's pretty much dead now.

TextBar is less well-known, but it's a much better app, in my opinion, and the developer is very responsive. You can find examples on GitHub of the types of things you can do with it.

  • I urgently SUPPORT your suggestion! I know (and use) BitBar since a month – GREAT examples ! I was looking for a way to display the # of desktop I'm "on". . . . This is the VERY simple bash script: osascript /Users/myName/.config/bitbar/Workingspace_Desktop.app which calls a short Applescript that just gets the name of my BG picture, compares it to a list and "return"s a result that I "formatted" IN the AS like: [ 3 ] . . . It is perfectly doable to display changing texts … BitBar's EXTRA: by the script's name you specify intervals of execution (mine: 2 seconds) >> so EASY! – clemsam lang Dec 4 '18 at 7:22
0

Macs don't have a status bar; if you mean the menu bar, then no, definitely not. But as you mentioned, it is pretty trivial to use notifications with Scripting Bridge:

osascript -e 'display notification "All questions have been answered." with title "Alert: Question Answered" subtitle "Notifications could be like a stockticker?" sound name "Ding"'?

  • 1
    "definitely not" ? How sure are you about this ? I suppose "definitely" implies you're 100% sure, but I wonder why you're so sure of this...? – CJK Nov 30 '18 at 7:50
  • I'm afraid you are wrong with "definitely not"… see my comment directly at the first answer ! … Whereas "notifications" ARE definitely NOT what the OP asks for: you CANNOT have a continuous flow of information, but could only use "banners" – which would annoy ME if they pop up and fade away all the time. – clemsam lang Dec 4 '18 at 7:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .