opening files with .mtxt or other extensions

chris's Avatar

chris

15 Sep, 2011 04:28 AM

I'm new to Mac, so this may be an OS issue, but I can only seem to open documents with a .txt extension in Marked (or, another way of putting it, I can't open files with a .mtxt extension, which I use to differentiate markdown formatted text files from other text files). When I try to drop on the dock icon, nothing happens. When I try to drop onto a shortcut in the sidebar I get an error that "the document “reading-bonk-chap2.mtxt” could not be opened. Marked cannot open files in the “Aquamacs Document” format." Is there some way to get Marked to understand this is a text doc (other than changing the extension) or get the OS to represent the file in a way that Marked will recognize (without changing the extension).

  1. Support Staff 1 Posted by Brett on 15 Sep, 2011 04:51 AM

    Brett's Avatar

    Hi Chris,

    The current version can only open a certain set of extensions, including txt, md, mdown, mkdn, textile and a slew of others. The upcoming 1.3 version, however, will open any text file. Until the release, you'll need to give your files an accepted extension for Marked to open them, but it shouldn't be long.

  2. Support Staff 2 Posted by Brett on 15 Sep, 2011 05:02 AM

    Brett's Avatar

    If you're in a hurry and comfortable with a little hacking, there is a way to manually edit the extension list from the command line (or with a little bundle digging and a text editor):

    Open /Applications/Marked.app/Contents/Info.plist in a plain text editor.

    Look around line 12 for <key>CFBundleTypeExtensions</key>

    You'll see it followed by an <array> and a series of <string>s. You can add a new string before the </array> like:

          <string>mtxt</string>
    

    Marked should open your files now, at least from the "File->Open" menu.

  3. Brett closed this discussion on 15 Sep, 2011 05:02 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac