At 1:08 PM -0600 5/1/2002, Charles Albrecht wrote: > >% 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.
For that (Arshad's original question), you can leverage the Finder and OSA, something along the lines of... #!/usr/bin/perl -w system q(/usr/bin/open -a "`/usr/bin/osascript -e 'tell application "Finder" to get name of application file id "CWIE" ' `" ); __END__ -Charles [EMAIL PROTECTED]