Changeset 52 for trunk/launch/launch/README
- Timestamp:
- 12/14/02 06:50:34 (22 years ago)
- Location:
- trunk/launch/launch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/launch/launch
-
Property svn:ignore
set to
build
.*
-
Property svn:ignore
set to
-
trunk/launch/launch/README
r3 r52 1 launch 1.0 a9 [2 April2002]1 launch 1.0b1 [14 December 2002] 2 2 ============ 3 3 … … 13 13 with Mac OS X. It offers few options - launching applications by name 14 14 or by path, launching TextEdit, or opening a number of applications, 15 documents, folders, etc. With the exception of special support for15 documents, folders, or URLs. With the exception of special support for 16 16 TextEdit, 'launch' does all this and: 17 17 … … 23 23 - asks applications to print documents, something the OS X Finder 24 24 no longer permits 25 - allows you to pipe output to GUI applictions 25 26 - launches applications in the background 26 27 - launches Carbon applications in Classic … … 60 61 A Project Builder project, 'launch.pbproj', is included. A 61 62 precompiled 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, and63 does not require any additional software to build.63 tested under Mac OS 10.2.3 with the December 2002 Developer Tools, 64 and does not require any additional software to build. 64 65 65 66 USAGE … … 69 70 70 71 Some examples: 71 72 % launch -ni com.apple.iTunes73 /Applications/iTunes.app74 [hint, hint]75 72 76 73 % launch -c 'R*ch' … … 80 77 [BBEdit starts printing test.txt in the background] 81 78 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 85 89 /Applications/Preview.app: Mac OS X application package 86 90 type: 'APPL' creator: 'prvw' … … 109 113 110 114 115 Q. Why does application X open a file with a name beginning with 116 'launch-stationery-'? 117 118 A. Your application does not support stationery. Applications which 119 support stationery respond to it by creating a new untitled document 120 with the contents of the stationery. Most (all?) Cocoa applications, 121 such as TextEdit, do not support stationery. If you're looking for 122 a text editor which supports stationery, try BBEdit, Tex-Edit Plus, 123 the CodeWarrior IDE, or almost any other Carbon editor. 124 125 For the curious: launch processes input by simultaneously reading it 126 and writing to a temporary stationery file. Once reading is complete, 127 launch opens the stationery file with your selected application, and 128 deletes the stationery after one minute (as a safeguard, it is not 129 possible to accurately gauge how long it will take for the application 130 to open the stationery). 131 132 111 133 Q. Why can't I use -f with -c to get info on an application with a 112 given creator ?134 given creator (or -f with -i for a bundle ID)? 113 135 114 136 A. This feature may be added to a later version (or add it yourself!), … … 126 148 127 149 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). 150 Q. Why won't launch locate non-packaged applications by their bundle 151 identifier? 152 153 A. This was a LaunchServices/CFBundle bug, fixed in Mac OS X 10.2. 154 For example, BBEdit 6.1 for OS X was a packaged application; BBEdit 155 6.5 is not, however its 'plst' resource contains a bundle ID. 156 LaunchServices prior to OS X 10.2 was unable to locate BBEdit 6.5 by 157 its bundle ID. 158 159 Non-packaged applications usually originated as Mac OS applications, 160 so they will have creators. If you're using Mac OS X 10.1.x, try 161 using the creator instead of the bundle ID as a workaround (-c instead 162 of -i). 163 164 165 Q. Why does launch display '[can't access CFBundle for application]' 166 in place of the bundle identifiers of non-packaged applications? 167 168 A. This is a CFBundle bug which remains as of Mac OS X 10.2.3. If 169 this matters to you, please ask Apple to fix it, or implement a 170 workaround in launch by parsing the 'plst' id 0 resource directly. 138 171 139 172 … … 191 224 --------------- 192 225 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 226 1.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 231 1.0a9 - 2 April 2002 232 - license, comments changes 233 1.0a8 - 29 March 2002 234 - errors with -l (from ICeCoffEE), added rlaunch script 235 1.0a7 - 3 March 2002 236 - print dates, sizes, folder valence, locked status for -f 237 - don't abort on failure to obtain bundle information 238 1.0a6 - 30 November 2001 239 - fixed incorrect messages, broken -u and crash on -nu 240 1.0a5 - 28 November 2001 241 - print kind string for -f, still no new installer 242 1.0a4 - 20 November 2001 243 - [try to] use Installer VISE instead of InstallAnywhere 244 1.0a3 - 15 November 2001 245 - fixed package identification in -f, updated examples 246 1.0a2 - 15 November 2001 247 - -f, removed broken -m 248 1.0a1 - 14 November 2001 249 - renamed from "FindApp", launch by default, -u 250 1.0d5 - 7 November 2001 251 - option -s for launching as root [nonfunctional] 252 1.0d4 - 6 November 2001 253 - URL launching and Internet Config support 254 1.0d3 - 4 November 2001 255 - more robust, support for docs without app 256 1.0d2 - 4 November 2001 257 - options -opsbmhCX, -cin, documents 258 1.0d1 - 26 August 2001 259 - returns path of application identified by creator
Note:
See TracChangeset
for help on using the changeset viewer.