How to put icon to the right of the menu bar?

Mark Laffoon mark.laffoon at gmail.com
Thu May 31 21:13:56 EDT 2012


>From a prior thread in the archive:

Sorry to be late to the party on this, but currently the status icon support
> in LC is for Windows only (at least according to the Read Me).
>
> I have a step-by-step tutorial on setting one up using Xcode, that includes
> calling AppleScript from any status menu items you create (which would
> allow
> you to reopen your app, or anything else AS supports).
>
> Here's the URL:
>
> http://www.sonsothunder.com/devres/livecode/tutorials/StatusMenu.html
>
> Ken Ray
> Sons of Thunder Software, Inc.
> Email: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.com/


On Thu, May 31, 2012 at 10:00 AM, Richard Gaskin <ambassador at fourthworld.com
> wrote:

> Bob Sneidar wrote:
>
> > On May 31, 2012, at 10:16 AM, René Micout wrote:
> >> I have an application ready to work (a todo list...) and I want
> >> to trigger the opening of my application by clicking on an icon
> >> placed in the right side of the menubar (like spotlight, Time
> >> Machine, wifi, dropbox, etc...)
> >
> > Oh! LC has no internal way to do that. You would have to have an
> > app compiled in a different language that ran as a service and
> > created that menu. You could launch your LC app from that app.
> > But unless the menu provides some functionality, like launching
> > an updater, or turning on or off some functionality without your
> > LC app running, then there is no point to doing that. If all your
> > doing is launching your application, it would be just useless menu
> > clutter.
> >
> > You should probably read up on the UI guidelines Apple puts out.
> > There is likely a section for how those mini-menus should function.
>
> I agree, the menu bar is not an app launcher.  For that we have the Dock,
> and LiveCode does provide ways to implement a menu for the Dock icon to
> provide features beyond just opening the app if needed.
>
> Oddly, there seems to be little info in the HIG about how and when one
> should implement "menu extras", as Apple calls them, though typically
> they're used to provide access to services that are relevant across all, or
> at least many, application workflows.
>
> For simply opening the app, consider this Dock (but don't have your app
> put its icon there by itself - that'll prevent it from being accepted in
> the app store).
>
> The one note in the HIG I could find on menu extras notes that they're not
> guaranteed to be visible if the monitor isn't wide enough to accommodate
> them with an app that has a lot of menus:
> <
> https://developer.apple.com/library/mac/#documentation/userexperience/Conceptual/AppleHIGuidelines/Menus/Menus.html#//apple_ref/doc/uid/TP30000356-SW1
> >
>
> The Dock is the way to go for launching.
>
> --
>  Richard Gaskin
>  Fourth World
>  LiveCode training and consulting: http://www.fourthworld.com
>  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
>  LiveCode Journal blog: http://LiveCodejournal.com/blog.irv
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
I am CDO. This is a lot like OCD, except the letters are in alphabetical
order... as they should be.



More information about the use-livecode mailing list