Hey guys, does anyone know how i would be able to make a AppleScript Application into a MenuBar without the dock icon?
Assuming you’re talking about something like the battery or airport status icons, as far as I know, it can’t be done with Applescript. CocoaDevCentral used to have a very good tutorial on making such a thing in Cocoa, but it seems to have gone to that Big Webserver In The Sky. If you really need it, I have a working menu extra based on the tutorial that I could send you. Send me an email at gonfunko(at)mac(dot)com, and I’ll send you a copy of the Xcode project. If you just want to make an application without a Dock icon, though, you can add this to your Info.plist file:
LSUIElement
1
Doing so will make your application not appear in application switching, though, and once you bring another application forward, there’s no way to get yours back if you closed all of its windows.