Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
Version 1.0, 2005-10-17
Uses Apple events to manipulate the list of login items (items launched when you log in).
Mac OS X 10.2 or later
Show how to manipulate the list of login items, that is, the items that are launched when you log in. The sample works by sending Apple events to the "System Events" process, which has an AppleScript dictionary for manipulating login items.