Changeset 146 for trunk/launch/launch/README
- Timestamp:
- 10/23/03 21:06:33 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/launch/launch/README
r137 r146 1 launch 1.0 b3 [xx April2003]2 ========== ==1 launch 1.0 [23 October 2003] 2 ========== 3 3 4 4 A command-line launcher for Mac OS X in the spirit of open(1). … … 14 14 or by path, launching TextEdit, or opening a number of applications, 15 15 documents, folders, or URLs. With the exception of special support for 16 TextEdit , 'launch' does all this and:16 TextEdit (open -a), 'launch' does all this and: 17 17 18 18 - opens URLs, directly or in your preferred helper application (-l) … … 27 27 - launches Carbon applications in Classic 28 28 - displays file information including type, creator, bundle ID, 29 data and resource fork sizes, and dates29 data and resource fork sizes, dates and version 30 30 - reports errors intelligibly 31 31 - and much more! … … 49 49 modify the install line as appropriate. 50 50 51 % sudo /usr/bin/install -d /usr/local/bin 51 % sudo /usr/bin/install -d /usr/local/bin /usr/local/man/man1 52 52 % sudo /usr/bin/install -c build/launch /usr/local/bin 53 % sudo /usr/bin/install -c launch.1 /usr/local/man/man1 53 54 % rehash 54 55 55 56 Uninstallation: 56 57 57 % sudo rm -f /usr/local/bin/launch 58 % sudo rm -f /usr/local/bin/launch /usr/local/man/man1/appswitch.1 58 59 59 60 COMPILATION 60 61 ----------- 61 62 62 A 63 An Xcode/Project Builder project, 'launch.pbproj', is included. A 63 64 precompiled binary is also provided. 'launch' was developed and 64 tested under Mac OS 10. 2.3 with the December 2002 Developer Tools,65 anddoes not require any additional software to build.65 tested under Mac OS 10.3 with the October 2003 Developer Tools, and 66 does not require any additional software to build. 66 67 67 68 USAGE … … 82 83 83 84 % launch -i org.mozilla.navigator http://www.apple.com/ 84 [C himera Navigatoropens Apple's Web site]85 [Camino opens Apple's Web site] 85 86 86 87 % launch -l launchsw@sabi.net … … 91 92 type: 'APPL' creator: 'prvw' 92 93 bundle ID: com.apple.Preview 94 version: 2.1.0 93 95 kind: Application 94 contents: 2 items96 contents: 1 item 95 97 [...] 98 99 A scripting example: a zsh function which provides an OS X wrapper 100 around emacsclient and the Carbon build of GNU Emacs, using launch and 101 appswitch (another one of my command-line tools). 102 103 e() { 104 ( emacsclient -n $@ >&/dev/null && \ 105 appswitch -a Emacs ) || \ 106 ( launch -ba Emacs && \ 107 until { emacsclient -n $@ >&/dev/null } do sleep 1; done; 108 appswitch -a Emacs ) 109 export EDITOR=emacsclient 110 } 96 111 97 112 FREQUENTLY ASKED QUESTIONS … … 108 123 type: 'APPL' creator: 'OWEB' 109 124 bundle ID: com.omnigroup.OmniWeb 125 version: 4.5 110 126 kind: Application 111 127 … … 119 135 A. Your application does not support stationery. Applications which 120 136 support stationery respond to it by creating a new untitled document 121 with the contents of the stationery. Most (all?) Cocoa applications, 122 such as TextEdit, do not support stationery. If you're looking for 123 a text editor which supports stationery, try BBEdit, Tex-Edit Plus, 124 the CodeWarrior IDE, or almost any other Carbon editor. 137 with the contents of the stationery. Most Cocoa applications, such as 138 TextEdit, do not support stationery. (Omni Group applications are a 139 notable exception.) If you're looking for a text editor which 140 supports stationery, try BBEdit, Tex-Edit Plus, the CodeWarrior IDE, 141 or almost any other Carbon editor. 125 142 126 143 For the curious: launch processes input by simultaneously reading it … … 146 163 /Volumes/GrayApps/Utilities/Resorcerer 2.4/Resorcerer: scriptable Mac OS X application [Carbon, prefers native OS X] 147 164 type: 'APPL' creator: 'Doug' 165 bundle ID: com.mathemaesthetics.resorcerer 166 version: 2.4 [0x2418010 = 37847056] 148 167 kind: Application 168 [...] 149 169 150 170 … … 162 182 using the creator instead of the bundle ID as a workaround (-c instead 163 183 of -i). 164 165 166 Q. Why does launch display '[can't access CFBundle for application]'167 in place of the bundle identifiers of non-packaged applications?168 169 A. This is a CFBundle bug which remains as of Mac OS X 10.2.3. If170 this matters to you, please ask Apple to fix it, or implement a171 workaround in launch by parsing the 'plst' id 0 resource directly.172 184 173 185 … … 225 237 --------------- 226 238 227 1.0 b3 - xx April2003239 1.0 - 23 October 2003 228 240 - work around CFBundle bug to report bundle identifiers and versions 229 241 from resource forks of unpackaged Carbon applications and Classic 230 242 applications [Lloyd Dupont] 243 - added descriptions for more error codes and clarified error 244 reporting 245 - output all errors to stderr 246 - provide better errors for -X option 247 - restored -m: OS X bug is fixed in Panther 248 - fixed a couple of tiny memory leaks 249 - added man page [Hisashi T Fujinaka] 250 - work around bug in LSOpenFromURLSpec opening multiple items in 251 Mac OS X 10.3 231 252 1.0b2 - 9 March 2003 232 253 - fixed install instructions to create /usr/local/bin if needed
Note:
See TracChangeset
for help on using the changeset viewer.