Home
Biography
License & Disclaimer

Trialware Applications
•  DayliteABMenu
•  Dialectic
•  Docktop
•  EntourageABMenu
•  Finder Window Manager
•  JABMenu
•  Lilt
•  Name those Files!

Freeware Applications & Scripts
•  ABNavigator
•  Address Book to HTML
•  AutoFill
•  Battery Info
•  Check Failed Password Attempts
•  Convert Script to Markup Code
•  Forward Mail to SMS
•  GeoParty!
•  Get Artwork From Amazon
•  Get Definition...
•  iTunes Music Store Estimator
•  Join PDFs
•  MacGiftWrap
•  MailMover
•  Make MP3 Audio Book
•  Name that iTune!
•  Preferential Treatment
•  RaPaCiousTranslator
•  Safari Selection to...
•  Save Scripts as Text
•  Search Mail.app for Flagged Messages
•  Send SMS via iChat AV
•  Sync Entourage & AB Groups
•  Miscellaneous Snippets of Code

Example AppleScript Studio Projects
•  Countdown
•  DockMenu
•  Installerish
•  Jumpy
•  Landmine
•  MenuApp
•  PictureWindows
•  Quizzer
•  Miscellaneous Projects
  JNSoftware

script icon MenuApp
Version: 1.1.1
Release Date: June 7, 2006
Requirements: Mac OS X 10.2+ & AppleScript Studio 1.1+
Script Type: Editable
License: Freeware (GPL)
Installation: Download & expand.

Description: This project is a template of sorts demonstrating the following features:
  1. A Status Menu (similar to a menu extra) with a dynamic submenu.
  2. A background-only toggle to make the app modify itself to be either a standard application with a Dock menu, application menu, and listed in the basic applications list (i.e., the list shown when you do a force quit) or a background-only app with only the status menu visible.
  3. An AppleScript to Objective-C bridge for calling Objective-C methods from AppleScript.
  4. An Objective-C to AppleScript bridge for calling AppleScript handlers from Objective-C.
  5. Registering, reading, and writing defaults using “user defaults”.
There are some basic comments in the main AppleScript as well as the Objective-C files that describe what is going on in the code.

To enable the background-only feature in your project, modify the internal Info.plist to create the LSUIElement property which toggles the background only bit of an app (you can add this by going to “Build > Edit Active Target For...” from Xcode or Project Builder, go to Expert View under Info.plist Entries, and add a new sibling with a property list of LSUIElement, a class of string, and a value of 1 (for background only) or 0 (for standard)). This has already been enabled in the MenuApp project.

Last site update: February 16, 2009   |   Copyright © 2009 . All Rights Reserved.
AppleScript, Finder, Macintosh and Mac OS X are registered trademarks of Apple, Inc.
All other products mentioned are copyright of their respective owners.
  spacer