Ignore:
Timestamp:
12/14/02 06:50:34 (22 years ago)
Author:
Nicholas Riley
Message:

launch 1.0b1.

  • accept "slack" (default http) URLs and email addresses with -l
  • accept input from stdin with '-'
  • open URLs with arbitrary applications when specified without -l
  • builds without compiler warnings
  • added a CFRelease
  • updated README with 10.2 info and new features
Location:
trunk/launch/launch
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/launch/launch

    • Property svn:ignore set to
      build
      .*
  • trunk/launch/launch/README

    r3 r52  
    1 launch 1.0a9 [2 April 2002]
     1launch 1.0b1 [14 December 2002]
    22============
    33
     
    1313with Mac OS X.  It offers few options - launching applications by name
    1414or by path, launching TextEdit, or opening a number of applications,
    15 documents, folders, etc.  With the exception of special support for
     15documents, folders, or URLs.  With the exception of special support for
    1616TextEdit, 'launch' does all this and:
    1717
     
    2323- asks applications to print documents, something the OS X Finder
    2424  no longer permits
     25- allows you to pipe output to GUI applictions
    2526- launches applications in the background
    2627- launches Carbon applications in Classic
     
    6061A Project Builder project, 'launch.pbproj', is included.  A
    6162precompiled binary is also provided.  'launch' was developed and
    62 tested under Mac OS 10.1 and 10.1.1 with the 10.1 Developer Tools, and
    63 does not require any additional software to build.
     63tested under Mac OS 10.2.3 with the December 2002 Developer Tools,
     64and does not require any additional software to build.
    6465
    6566USAGE
     
    6970
    7071Some examples:
    71 
    72 % launch -ni com.apple.iTunes
    73 /Applications/iTunes.app
    74 [hint, hint]
    7572
    7673% launch -c 'R*ch'
     
    8077[BBEdit starts printing test.txt in the background]
    8178
    82 % launch -l http://www.apple.com/
    83 [Your preferred Web browser opens Apple's Web site]
    84 
     79% ls -l | launch -c CWIE
     80[CodeWarrior IDE opens with an untitled document containing the file list]
     81
     82% launch -i org.mozilla.navigator http://www.apple.com/
     83[Chimera Navigator opens Apple's Web site]
     84
     85% launch -l launchsw@sabi.net
     86[Your preferred email client opens a new message to comment on launch]
     87
     88% launch -f /Applications/Preview.app
    8589/Applications/Preview.app: Mac OS X application package
    8690        type: 'APPL'    creator: 'prvw'
     
    109113
    110114
     115Q. Why does application X open a file with a name beginning with
     116'launch-stationery-'? 
     117
     118A. Your application does not support stationery.  Applications which
     119support stationery respond to it by creating a new untitled document
     120with the contents of the stationery.  Most (all?) Cocoa applications,
     121such as TextEdit, do not support stationery.  If you're looking for
     122a text editor which supports stationery, try BBEdit, Tex-Edit Plus,
     123the CodeWarrior IDE, or almost any other Carbon editor.
     124
     125For the curious: launch processes input by simultaneously reading it
     126and writing to a temporary stationery file.  Once reading is complete,
     127launch opens the stationery file with your selected application, and
     128deletes the stationery after one minute (as a safeguard, it is not
     129possible to accurately gauge how long it will take for the application
     130to open the stationery).
     131
     132
    111133Q. Why can't I use -f with -c to get info on an application with a
    112 given creator?
     134given creator (or -f with -i for a bundle ID)?
    113135
    114136A. This feature may be added to a later version (or add it yourself!),
     
    126148
    127149
    128 Q. Why do bundle IDs not work for non-packaged applications?
    129 
    130 A. I think this is a LaunchServices/CFBundle bug.  For example, BBEdit
    131 6.1 for OS X was a packaged application; BBEdit 6.5 is not, however its
    132 'plst' resource contains a bundle ID.  LaunchServices is unable to
    133 locate BBEdit 6.5 by its bundle ID.
    134 
    135 Non-packaged applications usually come from older Mac OS applications,
    136 so they will have creators, which is a workaround (use -c instead of
    137 -i).
     150Q. Why won't launch locate non-packaged applications by their bundle
     151identifier?
     152
     153A. This was a LaunchServices/CFBundle bug, fixed in Mac OS X 10.2.
     154For example, BBEdit 6.1 for OS X was a packaged application; BBEdit
     1556.5 is not, however its 'plst' resource contains a bundle ID.
     156LaunchServices prior to OS X 10.2 was unable to locate BBEdit 6.5 by
     157its bundle ID.
     158
     159Non-packaged applications usually originated as Mac OS applications,
     160so they will have creators.  If you're using Mac OS X 10.1.x, try
     161using the creator instead of the bundle ID as a workaround (-c instead
     162of -i).
     163
     164
     165Q. Why does launch display '[can't access CFBundle for application]'
     166in place of the bundle identifiers of non-packaged applications?
     167
     168A. This is a CFBundle bug which remains as of Mac OS X 10.2.3.  If
     169this matters to you, please ask Apple to fix it, or implement a
     170workaround in launch by parsing the 'plst' id 0 resource directly.
    138171
    139172
     
    191224---------------
    192225
    193 1.0a9 - 2 April 2002 - license, comments changes
    194 1.0a8 - 29 March 2002 - errors with -l (from ICeCoffEE), added rlaunch script
    195 1.0a7 - 3 March 2002 - print dates, sizes, folder valence, locked status for -f,
    196                        don't abort on failure to obtain bundle information
    197 1.0a6 - 30 November 2001 - fixed incorrect messages, broken -u and crash on -nu
    198 1.0a5 - 28 November 2001 - print kind string for -f, still no new installer
    199 1.0a4 - 20 November 2001 - [try to] use Installer VISE instead of InstallAnywhere
    200 1.0a3 - 15 November 2001 - fixed package identification in -f, updated examples
    201 1.0a2 - 15 November 2001 - -f, removed broken -m
    202 1.0a1 - 14 November 2001 - renamed from "FindApp", launch by default, -u
    203 1.0d5 - 7 November 2001 - option -s for launching as root [nonfunctional]
    204 1.0d4 - 6 November 2001 - URL launching and Internet Config support
    205 1.0d3 - 4 November 2001 - more robust, support for docs without app
    206 1.0d2 - 4 November 2001 - options -opsbmhCX, -cin, documents
    207 1.0d1 - 26 August 2001 - returns path of application identified by creator
     2261.0b1 - 14 December 2002
     227 - accept "slack" (default http) URLs and email addresses with -l
     228 - accept input from stdin with '-'
     229 - open URLs with arbitrary applications when specified without -l
     230 - builds without compiler warnings
     2311.0a9 - 2 April 2002
     232 - license, comments changes
     2331.0a8 - 29 March 2002
     234 - errors with -l (from ICeCoffEE), added rlaunch script
     2351.0a7 - 3 March 2002
     236 - print dates, sizes, folder valence, locked status for -f
     237 - don't abort on failure to obtain bundle information
     2381.0a6 - 30 November 2001
     239 - fixed incorrect messages, broken -u and crash on -nu
     2401.0a5 - 28 November 2001
     241 - print kind string for -f, still no new installer
     2421.0a4 - 20 November 2001
     243 - [try to] use Installer VISE instead of InstallAnywhere
     2441.0a3 - 15 November 2001
     245 - fixed package identification in -f, updated examples
     2461.0a2 - 15 November 2001
     247 - -f, removed broken -m
     2481.0a1 - 14 November 2001
     249 - renamed from "FindApp", launch by default, -u
     2501.0d5 - 7 November 2001
     251 - option -s for launching as root [nonfunctional]
     2521.0d4 - 6 November 2001
     253 - URL launching and Internet Config support
     2541.0d3 - 4 November 2001
     255 - more robust, support for docs without app
     2561.0d2 - 4 November 2001
     257 - options -opsbmhCX, -cin, documents
     2581.0d1 - 26 August 2001
     259 - returns path of application identified by creator
Note: See TracChangeset for help on using the changeset viewer.