Launch app from MacOSX system bar

Mark Schonewille m.schonewille at
Sat Oct 2 10:10:00 EDT 2010

Hi Josep,

You need to create an statusIcon (according o the release notes). For example:

on preOpenStack
  set statusIcon to 23001
  set the statusIconMenu to "Open Programme|openStandalone"
end preOpenStack

and you need a script that handles the menu selection:

on iconMenuPick theItem
  switch theItem
    case "openStandalone"
      launch "path/to/your/standalone"
    case "somethingElse"
      -- do something else here
    case "quit"
   end switch
end iconMenuPick

Keep these scripts in a separate standalone, which runs all the time. Whenever the menu item Open Standalone is selected, the iconMenuPick handler runs and opens your main standalone.

Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
KvK: 50277553

Download the Installer Maker plugin for Runtime Revolution at Create installers for Mac and Windows on *every* Rev-compatible platform. No additional software needed.

On 2 okt 2010, at 15:51, JosepM wrote:

> Hi Mark,
> I want create a custom icon that launch my standalone. I see that I must
> create a "menulets", isn't?
> Salut,
> Josep

More information about the Use-livecode mailing list