Finder menu application - how ?

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
trevix
Posts: 971
Joined: Sat Feb 24, 2007 11:25 pm
Location: Italy
Contact:

Finder menu application - how ?

Post by trevix » Tue Sep 25, 2007 2:21 pm

I would like to create an application that sit itself on the finder menu of OSX, like the date-time, Skype, the speaker volume, etc.
How do I do this ? And how do I resolve it on a window version ?

The application is similar to an alarm clock...
Thanks

Klaus
Posts: 13878
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Post by Klaus » Tue Sep 25, 2007 2:59 pm

Hi trevix,

sorry, but this is not possible with the built in capabilities of Rev.


Regards

Klaus

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Tue Sep 25, 2007 4:16 pm

Hi Trevix,

Apple discourages use of the menubar for your own menus. Of course, this contradicts Apple's menu icons for iChat and the AppleScript menu --two menus that I have disabled.

Although many people disable the AppleScript menu, it still could be an option for you to make your Application available from a Finder menu. Another possibility is to turn your application into a service that can be included in Finder's services menu.

Try this: http://wafflesoftware.net/thisservice/

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

trevix
Posts: 971
Joined: Sat Feb 24, 2007 11:25 pm
Location: Italy
Contact:

Post by trevix » Thu Sep 27, 2007 3:53 pm

Thanks for the answers...
I decided to make the application run on background (on OSX setting manually the "LSUIElement" to "1" on the info.plist, since i dont think it is possible to do it on Revolution).
I will call this application, that will not be visible on the Finder dock, from the main application, the visible one (It's a calendar + calendarAlarm type).
Any chance somebody knows on Window (XP, Vista) how to transform an application into a backrground application ? Is there on Revolution a Standalone setting the will do that ?

Ciao
Trevix

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Thu Sep 27, 2007 4:12 pm

Trevix,

On Windows:

Code: Select all

on startUp
  hide me
  pass startUp
end startUp
;-)

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply

Return to “Talking LiveCode”