Opening arbitrary file types

Discussion in 'macOS' started by olihall, Jun 17, 2006.

  1. olihall macrumors newbie

    Jun 17, 2006
    Does anyone know how to do this?

    For example I need dreamweaver to open a file (.tpl) but i cant drag it into the dock and it is grayed out in the open dialog.

    This is just an html file so it seems quite lame that I can't open it.

    Where are these rules about opening formats kept. I think there should be some modifier key or something that would let me override these rules. Or I would like a setting that would just turn them all off, and let me open what I want with anything I choose.
  2. robbieduncan Moderator emeritus


    Jul 24, 2002
    If it's an html file then why is it not a .html file? Each application declares the file types it know how to open in it's Info.plist file. These declarations are keyed via the file extension so if a file as a strange and unknown extension the system (LaunchServices) will not ask that application to open the file. You might have some luck editing Dreamweavers Info.plist file, but if you don't know what you are doing you could damage your Dreamweaver install.
  3. MisterMe macrumors G4


    Jul 17, 2002
    Make a copy of the file and then change its extension to .html.
    Open the file using the File/Open dialog box from within your favorite application.

Share This Page