At 11:33 AM +1000 4/29/2002, Ken Williams wrote:
>Perhaps you don't need to.  Maybe you could just use the "open" 
>command in the shell (see "man open") to open it without a 
>path.  You can do things like this:
>
>   open -a com.barebones.bbedit file.txt
>
>That will find BBEdit, wherever it is, and launch it.
>
>A potential snafu is that it seems to require a file to open, 
>you can't just launch the application by itself.  Anyone know a 
>way around this?

In your example, com.barebones.bbedit is irrelevant. The reason 
it appears to work is that you very likely BBEdit set as the 
application used by default to open file.txt. This example is 
then the same as:

% open file.txt

Which is the same as double-clicking that file in the Finder. You 
need the actual name of the application. 

% open -a "BBEdit 6.5" file.txt

will give you the desired effect. I don't know if it helps for 
Arshad's original question, though, as you still don't know the 
name of the app itself.

-Charles
 [EMAIL PROTECTED]

Reply via email to