Open Files with — you choose

How to choose on the fly what program to use to open a file.

 

Open Files with — you choose
Mac Tip #334, 16 April 2008

Sometimes I want to open .html files with my text software so I can edit them. Other times I want to open them into a web browser so I can view them.

Or it may be that I want to choose either Keynote or Powerpoint to open a .ppt file. Or perhaps Pages or MS Word to open a .doc file, Preview or Adobe Reader for a PDF — the list of combinations of file types and software can be very long.

It’s quite common really to want to choose, moment by moment, which application you’ll use to open a particular file.

Of course you can set certain file types to always open with a particular application. I explained how in I’ll open that, Mac Tip #179/19-Jan-2005.

Half a dozen possibilities for opening a photo in jpg format.

Half a dozen possibilities for opening a photo in jpg format.

But if you want to override that choice and choose a different application to open a file, then you need a different approach. Here are some possibilities:

  1. Drag the file onto the icon of the application you want to use — in the Finder or in the Dock.
  2. Open the application, choose Open from the File menu, then select the file to open.
  3. In the Finder, Right Click or Control Click on the file and choose Open With from the contextual menu that appears. A sub-menu displays some possible applications that may open the file, or choose Other… to bring up a dialog box where you can select an application.

My screenshot shows half a dozen possibilities for opening a photo in jpg format.

Thanks for reading. Remember to tell your friends about MacTips. Subscribe for regular Tips.

Clip to Evernote

Tell us what you think.
Note: your comment is not published straight away. I check and approve all comments, otherwise the spammers get a free rein. I usually check comments within 24 hours.

* 2 comments… read them below and tell us what you think.

Adam Shand 20 April 2008 at 23:03:20

I find a great way of doing this is from inside a terminal window using the “open” command:

To open a file with the default application:

# open /tmp/file.html

To open a file for editing with TextEdit:

# open -e /tmp/file.html

To open a file with a specific application:

# open -a textmate /tmp/file.html

Adam.

Reply

Miraz Jordan 20 April 2008 at 23:19:19

Thanks Adam. It’s always good to know about these additional techniques.

Reply

Add your Comment

Take Control ebooks (affiliate link) are superb.
I do some of my best learning from them. Buy through my link so I can make more and better Tips.

Take Control of Using Lion.   Buy Take Control of iCloud.  Macworld iPhone 4S Superguide   Take Control of iTunes 10: The FAQ, Second Edition