• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Making a menubar status item
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making a menubar status item


  • Subject: Re: Making a menubar status item
  • From: Shane Stanley <email@hidden>
  • Date: Sat, 23 Mar 2013 09:42:17 +1100

On 23/03/2013, at 6:23 AM, Mark J. Reed <email@hidden> wrote:

> I know how to do the SOAP call from AppleScript (or Perl or Ruby or ...).  Is there an easy way to get the menubar item from such a language?
>
> I mean, I can create an NSStatusItem in Objective-C, and it's probably not too hard to do the SOAP stuff there, too, but if there's an easier way, especially one that can use my existing AS code, that would be convenient.

You could create an NSStatusItem using AppleScriptObjC. I'm not sure that would be particularly easier, other than integrating with your AS better. (It's not particularly hard, either...)

But I suspect what you're looking for is some built-in AS functionality, and that doesn't exist.

--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Making a menubar status item (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Making a menubar status item
  • Next by Date: Strings as list items don't always compare as strings
  • Previous by thread: Making a menubar status item
  • Next by thread: Strings as list items don't always compare as strings
  • Index(es):
    • Date
    • Thread