Ignore:
Timestamp:
03/12/06 12:44:00 (18 years ago)
Author:
Nicholas Riley
Message:

VERSION: Updated for 1.1d1.

main.c: Updated copyright statement. Updated for 1.1d1. Removed
ancient todo list. Only support 10.4 and higher - removed unnecessary
BROKEN_LSOPENFROMURLSPEC and unused DEBUG #defines. Replace
LSLaunchURLSpec with LSApplicationParameters. Added -o for arguments
(which doesn't work, delaying 1.1's release pending Apple fix).
Support app paths with -a, like open(1) does. Print file content's
UTI if possible on -f. Removed a couple of extraneous arguments to
osstatusexit. Replaced error codes with symbolic constants again.

README: Updated for 1.1d1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/launch/launch/README

    r166 r214  
    1414or by path, launching TextEdit, or opening a number of applications,
    1515documents, folders, or URLs.  With the exception of special support for
    16 TextEdit (open -a), 'launch' does all this and:
     16TextEdit (open -e), 'launch' does all this and:
    1717
    1818- opens URLs, directly or in your preferred helper application (-l)
     
    2222  changing references to it
    2323- asks applications to print documents, something the OS X Finder
    24   no longer permits
     24  didn't get until Mac OS X 10.4
    2525- allows you to pipe output to GUI applictions
    2626- launches applications in the background
     
    6161-----------
    6262
    63 An Xcode/Project Builder project, 'launch.pbproj', is included.  A
    64 precompiled binary is also provided.  'launch' was developed and
    65 tested under Mac OS 10.3.8 with Xcode 1.5, and does not require any
    66 additional software to build.
     63An Xcode project, 'launch.xcodeproj', is included.  A precompiled Universal
     64binary is also provided.  'launch' was developed and tested under Mac OS X
     6510.4.5 with Xcode 2.2.1, and does not require any additional software to
     66build.
    6767
    6868USAGE
     
    8282[CodeWarrior IDE opens with an untitled document containing the file list]
    8383
    84 % launch -i org.mozilla.navigator http://www.apple.com/
     84% launch -i org.mozilla.camino http://www.apple.com/
    8585[Camino opens Apple's Web site]
    8686
     
    169169
    170170
    171 Q. Why won't launch locate non-packaged applications by their bundle
    172 identifier?
    173 
    174 A. This was a LaunchServices/CFBundle bug, fixed in Mac OS X 10.2.
    175 For example, BBEdit 6.1 for OS X was a packaged application; BBEdit
    176 6.5 is not, however its 'plst' resource contains a bundle ID.
    177 LaunchServices prior to OS X 10.2 was unable to locate BBEdit 6.5 by
    178 its bundle ID.
    179 
    180 Non-packaged applications usually originated as Mac OS applications,
    181 so they will have creators.  If you're using Mac OS X 10.1.x, try
    182 using the creator instead of the bundle ID as a workaround (-c instead
    183 of -i).
    184 
    185 
    186171Q. Why doesn't launch support opening items as root?
    187172
     
    237222---------------
    238223
     2241.1 - unreleased
     225 - -o: pass command-line arguments (broken, r. 4474993)
     226 - display content type ID (UTI)   
     227 - switched to new LSOpen APIs (now requires Mac OS X 10.4 or later)
     228 - for compatibility with open(1), take app path as argument to -a
    2392291.0.1 - 3 April 2005
    240230 - prefer files to URLs; added -U for old behavior
Note: See TracChangeset for help on using the changeset viewer.