Default text editor for files with no extension

If I double-click on a file with a name like README, the Finder opens the file with TextEdit.app. I can easily change which editor is used if the file had an extension (e.g. if it was called README.txt or README.html), but without an extension, OS X had no way to set a preferred editor. If I open this from the terminal I can set the EDITOR environment variable, or use open -a appName, but my question is about the Finder. Thanks!

extremely annoying. when i first switched to OS X, i had to rewite a hundred or so perl scripts for my servers... because any text file or data file or whatever, that didn't have an extension after it, would no longer open in BBEdit, like it always did in 9.2
3 years later i'm still occasionally getting that annoying 'doh, what do i open this with' message. macs are getting dumber all the time.
i guess apple thinks windows got it right associating the extension with the app.
and half my 'change alls' don't stick either.

Similar Messages

  • Change default program for files with no extension

    I've got a file called TODO. Just TODO, not TODO.txt or anything like that, there is no extension.
    I want to open all files with no extension in MacVim.app. If i right click TODO, select Get Info, change to MacVim.app under Open with, and then click Change All, this is what I get:
    "Are you sure you want to change all similar documents to open with the application "MacVim.app"?"
    I click Continue.
    "An error occured while changing the application that opens "TODO" because not enough information is available. Do you want to open "TODO" with "MacVim.app"?"
    This is useless! Any ideas as to how to make it work?

    extremely annoying. when i first switched to OS X, i had to rewite a hundred or so perl scripts for my servers... because any text file or data file or whatever, that didn't have an extension after it, would no longer open in BBEdit, like it always did in 9.2
    3 years later i'm still occasionally getting that annoying 'doh, what do i open this with' message. macs are getting dumber all the time.
    i guess apple thinks windows got it right associating the extension with the app.
    and half my 'change alls' don't stick either.

  • Set default text editor (no type, creator or extension)

    I would like BBedit to be the default text editor not TextEdit.
    I work in Terminal a lot and often encounter files that were sent to me by someone using Linux and have no type, creator or extension. I want these to open in BBedit not TextEdit.
    The problem can be recreated like this:
    Create an empty file in the Terminal like this:
    %touch testfile
    Select testfile in the Finder and set BBedit as the application to open this file. Click the "Change all" button to make this global.
    I then get an error about there being not enough information. I'm given the option to update and I do.
    Then double clicking on testfile does, in fact, open the file in BBedit.
    Now the rub. If I then generate another file called testfile2 like this:
    %touch testfile2
    Testfile 2 opens in TextEdit when double clicked in the Finder.
    What am I doing wrong?

    I'm not sure how to set a default for files like that. What I do for files that aren't cooperative like that is just have BBEdit (well, actually, TextWrangler for me) on the Dock and then just drag and drop them.
    You could potentially use an AppleScript or shell script to set the creator code to 'R*ch' for a batch of files. Type and creator codes used to be the Mac's alternative to extensions, but they were unfortunately left behind in Mac OS X, since the rest of the computing world didn't understand them. There's still support for them hiding in the OS, though. Looks like there's a script that'll do the trick here:
    http://scriptbuilders.net/files/setcreatorcodeofselection1.0.html

  • How do I add a filter in JFileChooser for files with no extension?

    Is it possible to have a filter with that filters out files with no extension in a JFileChooser?
    Any help is appreciated.
    Shankar

    When you override accept(File), get the filename from the File object, and parse out the extension. I don't remember there being an easy way to get the extension besides looking for a dot and parsing. If there's no extension, accept it.

  • Setting default text editor for sql+ in win2k

    the define _editor=...command in sqlplus doesn't seem to be
    working for me. Can anyone shed a bit of light on how to make
    this work under windows 2000 pro? I want to get rid of notepad
    and replace it with NoteTab which is a much more advanced text
    editor over the stock m$ editor.
    thx in advance for any assistance.

    I'm using WIN2k and it works for me:
    DEFINE _EDITOR = "c:\program files\lemmy\lemmy.exe"
    SQL*Plus: Release 8.1.7.0.0 - Production on Tue Oct 23 13:35:09
    2001
    Microsoft Windows 2000
    5.00.2195
    Service Pack 2

  • Formatted Text field for File Extensions

    Hi guys,
    Is it possible to create formatted text field for file extension like it should accept *.bmp, .bmp, bmp. etc..... It is not necssary to be a Combo Box. TextField will work.
    Thanks in advance.
    AZGHAR

    Any one here \Help\Help\Help ;-(

  • Pages - Default Text Editor?

    How can I make Pages my default text editor?

    Hi DennisG,
    Thank you for the link. Now I have it, small file download. Yes it does look interesting, it will be fun to play around with getting to know it.
    On a side note to both you and Yvan: Back in my Windows days I did MS Office tech support. That caused me to became quite a Word junky creating specialty docs, brochures, and the like. With the arrival of Pages rarely do I use Word, only when someone needs assistance with a Word doc. I've moved to Pages, for what I do it's so much better than Word 2004 (don't have 2008).
    Some friends using AW want help with their AW thingys, so to assist them I reinstalled AW. Wow, I question why for years I hadn't used it: now I use AW more than Pages and Numbers. It amazes me how fast AW is, plus I like the DB as well. Yes the word processor and spreadsheet aren't as graphical as Numbers and Pages however, the print outs are very good, and both modules do numerous things Pages and Numbers yet cannot do.
    The more I use AW the more I understand why folks wished Apple, rather than start iWork from scratch, ported AW to iWork. Let's hope the next version of iWork will catch up to AW becoming the cats meow perhaps.
    Again thank you for the Bean link.
    Sincerely,
    RicD
    Sincerely,
    RicD

  • Make Pages default text editor

    How do I make Pages the default text editor? (Double click a .txt file and Pages opens instead of Appleworks)

    Hello kelwhite01,
    welcome to the Pages Discussions. Select a ".txt" Document in a Finder window and open the Infowindow for it (shortcut: "command" and "i"). In the middle of the window you see a section titled "Open with". There you can choose the app you want to open the selected document with. After choosing Pages, press the button at the bottom of the section to order the system to open every document of that type with Pages.

  • Files with .a extension using ftp transport

    Hi.
    Am using ftp adapter in osb to read .txt files(e.g. abcd.txt) from ftp location, process the body/text() in OSB and then place the incoming file to an outbound folder.
    the flow is like ftp-> Proxy Service->Business Service->outbound ftp
    the service works fine where then is less load or the no. of incoming files is less.
    However,sometimes the outbound folder contains the files with .a extension at the end.(e.g. abcd.txt.a)
    Can someone tell me the rootcause of these .a file creation and the scenarios in which the .a files are created.
    Also,please tell me what are these .a files meant for?
    How,can I eliminate this while configuring the services using ftp transport.
    Thanks in adavance

    I had this recently with a variety of FTP servers, FileZilla, Microsoft etc.
    For me, it happened when the file already exists in the destination and I was expecting the destination file to be overwritten. My application would generate the same filename, say FileA.txt and expect that to be overwritten, but with OSB 10gR3 I would get files with .a stuck on the end.
    This functionality changed between ALSB and OSB and I had a patch developed to restore the ALSB functionality.
    I spent ages looking at it, and debugging FTP commands and going from memory, I'm pretty certain that the FTP adapter doesn't implement the correct FTP spec for the RNFR command according to the RFC in the case where a file already exists - it doesn't handle overwrite.
    Hope that may help.
    Pete

  • File with pls extension opens with data modeler instead of sql developer

    Hello,
    I have both SQL Developer and Data Modeler installed as separate installations. If I  click in  the Windows File navigator on a file with the extension pls, the SQL Developer should open since the pls extension has been connected to SQL Developer.
    If I have neither SQLD nor DM open, SQLD opens -> ok
    If I have only SQLD open, the file is opened in SQLD -> ok
    If I have only DM open, the file is opened in DM -> not ok
    If I have both SQLD and DM open, the last started application opens the file -> sometimes ok
    Is it possible to manage the opening of a pls to open always in SQL Developer?
    Joop

    This is quite an old problem which I have seen with JDeveloper and SQLDeveloper so it may be framework related. I don't currently have both installed to check it out, but as it has been around a long time I doubt it has gone away.
    SQL files would open in either JDeveloper or SQL Developer following the pattern Joop described. Java files would only ever open in JDeveloper.    IIRC there was never a SQL file association for JDeveloper and SQLDeveloper was always the default.

  • Recover files with wdseml extension

    The folders of my profile were corrupted without apparent cause.
    These folders and their contents (looking directly with the MS-Explorer at Windows7) does not corresponds to the content displayed at Thunderbird folders, which displays or none or only some messages. Furthermore, any mozmsgs folders contains files with names large and unintelligible (as !%26!AAAAAAAAAAAYAAAAAAAAAAvE%2B1bgVJRKvZbGQVKNZEPCgAAAEAAAAEvN9Wl6jMtPvq8AQlPK8hwBAAAAAA%3D%3D%40gmail.com, for example).
    I deleted the indexes files (msf), but the problem persisted! I tried recover from ImportExportTools 3.1 extension. Unfortunately, also without results!
    How can I do to keep my message files? I have archived messages since 2004 and would not want that to happen.

    Thank you Matt!
    I ended up discovering that these files are files visualization of windows7 to search the archives of the Thunderbird.
    However, I also discovered that I missed the messages corresponding to these files. The corresponding files from Thunderbird simply disappeared. I tried several tools such as undelete / unerase and these files appear as neither deleted files. Somehow they were erased and overwritten.
    I found that files with the extension wdseml can be renamed to eml and read like a message, but the attachments were lost.
    I believe some updating Thunderbird may have caused this, since a recent update occurred. The date of this update is the same date of multiple files still present (see the MS-Explorer), precisely the date given by my lack of posts.
    This tragedy upsets/saddens me much. I ended up losing almost 50,000 messages, all stored and organized by topics since 2004! At least I can recover the text of these messages, even without its attachments.

  • How do I make ALL files with RTF extension open in Nisus Writer?

    How do I make ALL files with RTF extension open in Nisus Writer? Right now it opens in Text Edit. I don't want to change it for one file. I want all files, regardless of how many or where they are.

    select a .rtf file in finder and enter command+i. in the resulting popup go to the "open with" section and change the app to open it to Nisus Writer and click "Change All".

  • Receiving multiple files with dual extension using file adapter

    Hi,
    The scenario where I am implementing requires multiple files of different names to be picked(ABC.txt) and dropped at destination(ABC.txt.pgp) up by my File Sender and Receiver adapters.  Any idea on about how the configuration for receiving multiple files with dual extension for receiver adapter is to be done?
    Note:- currently, The scenario is working fine without dual extension. i.e Its picking all files which starts with ABC and creating at destination as it is. even I configured as ABC.txt.pgp, but its not creating the second extension.
    Thanks in Advance
    Manmadha

    Hi,
    Try to concatenate '.pgp ' to the source file name to create the target file name for the receiver file adapter, by accessing the Adapter Specific Attributes using Java user defined function. This might work.
    Reference links:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/43/03612cdecc6e76e10000000a422035/frameset.htm">SAP Help - Accessing Adapter Specific Attributes</a>
    <a href="/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14 - XI: The same filename from a sender to a receiver file adapter - SP14</a>
    Regards,
    S.Santhosh Kumar

  • Files with .ejb extension

    Hi,
    I am using the <javadoc> task in an Ant build file. I have several EJB files with th extension .ejb that I want to have included in my javadocs.
    I have the following code:
    <target name="javadoc" description="Build Java Documentation">
            <javadoc destdir="${doc.dir}">
                    <fileset dir="src">
                            <include name="**/*.ejb" />
                    </fileset>
            </javadoc>
    </target>However, when I run this I get the following error:
    [javadoc] javadoc: Illegal package name: "C:\src\com\test\ejb\CommandInputEJB.ejb"I do need the .ejb file extension for another tool to work (Ejbgen). Is there a way to get this working?
    Thanks in advance for any help!
    Arjan Huijzer

    Hi Arjun
    I'm still learning all of this myself with Ant, but looking at your script, it does not appear to be complete. I understand that you need to have certain tags included. The Ant task documentation gives good information, but in brief, in the list of parameters, the required options are indicated. Your script as a minimum, must include either '<b>sourcepath</b>', '<b>sourcepatheref</b>', or '<b>sourcefiles</b>' and you then must include '<d>destdir</b>' (which you already use).
    You can find the documentation here:
    http://ant.apache.org/manual/CoreTasks/javadoc.html
    I have never included external files such as the EJB ones you are using, but I have written my own script for generating JavaDoc HTML output. Feel free to use it if it helps.
    It uses an external file for the package list (sourcepath), called from the property:
    <i> <property name="JDOCSOURCELIST" value="JDOCSourceList.properties" /> </i>
    This is the same as the -sourcepath option of the standard JavaDoc docelt. It is formatted:
    <code>
    com.supersaus.server
    com.supersaus.server.factories
    \\\\S5\\Documentation\\com\\supersaus\\common\\Association.java
    \\\\S5\\Documentation\\com\\supersaus\\common\\CData.java
    </code>
    Other properties used in the script are:
    <code>
    <property name="JDOCDIRECTORY" value="JavaDocOutput" />
    <property name="SOURCECODEROOT" value="\\\\S5\\Documentation" />
    <property name="STYLESHEET" value="./stylesheet.css" />
    <property name="BOTTOM" value="Supersaus 2004" />
    <property name="DOCTITLE" value="Supersaus Common Files" />
    <property name="LINK" value="http://java.sun.com/j2se/1.4.2/docs/api" />
    <property name="OVERVIEW" value="doc-files\\Saus_Overview.htm" />
    </code>
    The main ant target is built up as follows:
    <code>
    <!-- Generate the JavaDoc HTML. -->
    <target name="BuildJavaDoc">
    <splash/> <!-- Add Ant progress bar -->
    <echo message="Please wait whilst the document is generated into the folder ${JDOCDIRECTORY}" />
         <!-- call javadoc -->
         <javadoc destdir="${JDOCDIRECTORY}"
         sourcePath="${SOURCECODEROOT}"
              packageList="${JDOCSOURCELIST}"
              maxmemory="180M"
              stylesheetfile="${STYLESHEET}"
              bottom="${BOTTOM}"
              Doctitle="${DOCTITLE}"
              Windowtitle="${DOCTITLE}"
              Overview="${OVERVIEW}" >
              <Link href="${LINK}"/>
         </javadoc>
    </target>
    </code>
    Hope all this helps?
    Best wishes and good luck
    Supersaus

  • What is the text editor that comes with a Mac?

    What is the text editor that comes with a Mac? My daughter purchased a new MacBook Pro. She wants to move her iTunes from the old Windows XP system to OSX. One of the ways I have found to do this is to move theXML Library from XP toi OSX and edit it. The XP version has the drive letter paths and that is different in OSX. If I knew what editor was available, then I could do a mass change of the old path to the new one. Any editor suggestions?

    Hi motero,
    TextEdit is essentially a word processor. You can find detailed information about it [here|http://support.apple.com/kb/HT2523].
    Moving an iTunes library from one computer (PC or Mac) to another is very easy and can be done in a number of different ways. You should read the articles [here|http://www.apple.com/support/itunes> and decide which method is best for you.
    Thanks,
    Acros-Krik

Maybe you are looking for

  • How to keep an image in thimble?

    where should i add my image and how to get that ink an d how add that source?

  • Void check with date selection

    Greetings experts - My customer created a check in January, it is now March, and they want to void it as of February.  Is there a way to "trick" the system as to what the current date is so I can void the check as of February? I tried changing my win

  • ABAP Webdynpro table scroll bar does not work

    Hello, I have created a dynamic WD table using cl_wd_dynamic_tool=>create_table_from_node. I have set the no. of visible rows to 5. Now when ever the table has more rows, it displays a vertical scroll bar. But if I scroll it down, after 5 rows, it do

  • IPhone and synching Apps

    I have a number of Apps ion my iPhone that I have purchased and installed via the iPhone. I am now synching to a new computer. Music is fine, However, when I checked the synch Apps bos I was warned that all my apps would be repaced by what is on the

  • Running reports during certain timeframes only?

    In our environment, custom reports have been created which, when run, potentially have the ability to bring the system to its knees.  I would like to set up some type of authorization that allows the running of reports only at a specific times each d