Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Run app in background



Thanks Ryan,

you really helped me out. I've tried both of your solutions and they both work!

Regards,
Jasper.


On Jul 02, 2005, at 5:54 PM, Ryan Hoshor wrote:

Jasper,
Have you tried adding the LSUIElement in the info.plist of your app? Just add it at the bottom within the <dict> tag right from Xcode:


<key>LSUIElement</key>
<string>1</string>

Then rebuild your app. That should make your application a background process with no menubar or dock icon. You can also edit the 'Launch Service User Interface Element' (LSUIElement) of any built application by showing the package contents and then editing the info.plist. Your changes come into effect the next time you launch the application.

Also, If you want your app accessible from the right side of the menubar (i.e. with iChat, Classic, Languages, Clock, etc.), Jonathan Nathan has an example AppleScript Studio app here:

http://homepage.mac.com/jonn8/as/html/MenuApp.html

Notice, however, that this is not a 'Menu Extra,' it is a NSStatusItem; meaning that you cannot change its position in the menubar, and a few other things.


Hope that helps, Ryan


On Jul 2, 2005, at 7:38 AM, Jasper Van Proeyen wrote:


Hi list,

is it possible to run an ASS app in the background (without the app icon being displayed in the Dock)?
If not, is there any way to run it in the menu bar?


TIA,
Jasper.


--
"Lead me in thy truth, and teach me: for thou art the God of my salvation; on thee do I wait all the day."
–Psalms 25:5




_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-studio mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden
References: 
 >Run app in background (From: Jasper Van Proeyen <email@hidden>)
 >Re: Run app in background (From: Ryan Hoshor <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.