Re: Making a menubar status item
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