Plain text editor that will open html correctly in browser

TextEdit isn't the answer. If I save a plain text document full of html code as a "web page (html)" doc, it displays as plain text code in the browser rather than translating the code as a web page. I cannot save it as a .txt doc - the option is not available. If I save it as a .odt, I cannot then append .html to the file. So really, it ***** as a coding app. Isn't there a plain text option for Mac that works just like Notepad (or like SimpleText from years ago)?

dramaguru wrote:
If I save a plain text document full of html code as a "web page (html)" doc, it displays as plain text code in the browser rather than translating the code as a web page.
This is because what you're doing causes it to think that the code is the content of the page.
You must work in Plain Text mode: when you have completed your code use Save As and save it as filename.html - you will get a dialog box offering to add .txt on the end, but you should decline the offer. This will work perfectly well.
It's a very useful way of making simple alterations to code: if you want to go for something more advanced you might like to look at PageSpinner ($29.95, trial period available) which gives you colouring dependent on the type of code, pre-formed code to add it, and a live display of the result using Webkit (as in Safari).

Similar Messages

  • Can I create a link in a text cell that will open another file?

    I am creating a template in Numbers that I can use to log meeting session data, such as length, date, notes of the meeting content, action items and then also have a field (cell) for links to outside documents relevant to the meeting or client.  I see how I can create a link to a webpage or an email, but not to another file on my hard drive, so that when I am in the file and reviewing notes, I can just click to open the items being referred to.
    Does that make sense?
    Thanks,
    Cliff

    Well, if you specifically know the name of the application in question and how it accepts parameters, you can try using Runtime.exec()
    If you're willing to sacrifice platform independence (which it sounds like you are, since you specifically mentioned Explorer), you can try using the NTVDM "call" command, which taps into the file associations in the registry and launches the appropriate application.
    I guess it would depend on the exact functionality you want. :)

  • How to Set Up TextEdit as an HTML or Plain Text Editor?

    How to Set Up TextEdit as an HTML or Plain Text Editor?

    Well,
    There are 5 choices to choose from on the page. In the description of the choices at the bottom of the page there are 7, and the two additional choices talk about having to first have registered the site with SSO. So...I'm interpreting that as meaning that other 2 possible choices would be displayed if the site is registered with SSO. That, plus the fact that the page which describes how to add the site to SSO seems to think that the SSO choices are displayed in the wizard.
    So, no, there's no "exact launguage" that says what the reason is for the choices not being displayed. Can you point me to some exact language that tells me how to get those choices displayed?

  • TextEdit - Plain Text Files That Open In Windows?

    Hi. Just got an iMac. I've been trying to make plain text files in TextEdit that show up correctly in Windows on a PC. I've tried saving the same document in 4 different formats:
    - Plan Text Unicode (UTF-8)
    - Plain Text Unicode (UTF-16)
    - Plain Text Western (Mac OS Roman)
    - Plain Text Western (Windows Latin 1)
    But none of these look right on a PC. All of the line breaks I've entered show up replaced by black rectangles. Why is this?
    What format should I save as in TextEdit, to create Plain Text files that are compatible with both PC and Macs?

    First, note that TextEdit does not create plain text files, it creates rich text files (.rtf). If you truly want plain text, try the free TextWrangler:
    http://www.barebones.com/
    As to the line break problem, Macs use just a carriage return as the end-of-line character, while Windows uses a carriage return followed by a line break character. At least, that's how I understand it. Most likely, whatever app you're using on Windows is dumb enough that it can't figure out what to do with the Mac line endings. TextWrangler will let you change the line breaks, so you could use it to create plain text files with Windows line breaks. Of course, that doesn't help if you didn't really want plain text (ie, absolutely no styling, just raw text).

  • Newbie help with sample Studio app. "Plain Text Editor"

    I'm trying to make the jump from AppleScript to AppleScript Studio, and because I want to eventually write a document producing application I thought I'd start with the textbook example "Plain Text Editor" included with Xcode. I think I see how menu items are connected to "Target/Actions," and I was able to build and run it without difficulty. It's remarkable how little AppleScript had to be written to produce a rudamentary text editor. But in playing with the built application, I noticed that the Revert menu item does not work exactly as expected.
    If you create a text document, and then make some change to it, and then click the Revert menu item, you get the expected little dialog asking if you want to revert to the most recently saved version, but if you then click the Revert button, the text displayed in the text view object does not revert to the original. However, something is happening, because whatever code is behind the Save, Close, and Quit menu items does seem to be "aware" that the Revert item has been invoked: because if you click one of these after Revert, the "do you want to save changes?" warning doesn't appear, just as one might expect.
    The Revert menu item seems to be connected to a "Target/Action" called "revertDocumentToSaved:" which sounds perfectly reasonable. But does the fact that Revert doesn't cause the displayed editing text to revert mean that (a) there is a bug in the code behind this Target/Action, or (b) that the writer of this textbook example just didn't bother to do everything needed for the Revert item to work in an intuitive manner?
    Whichever the answer, what would I do to make it work properely?
    It seems like there must be some sort of connection between the text view object in the editing window, and the Close, Save, Quit suite of menu items, because the behavior of these is dependant on whether or not there are unsaved changes in the text view object. But looking through the Inspector for this object, I don't see any, neither AppleScripts, nor Outlets, nor Target/Actions. Where and for what should I be looking?
    Dual 1.2 GHz   Mac OS X (10.4.8)  
    Dual 1.2 GHz   Mac OS X (10.4.8)  

    I think -- and I'm sure someone will correct me if I'm wrong -- that this is a place where AppleScript Studio's implementation just isn't done right. Either they intended to add a "revert" handler somewhere and forgot, or else they meant to have it send an existing message and didn't.
    I haven't done any document-based applications -- heck, I've only dabbled slightly in AppleScript Studio -- so there may be a "deeper" answer to this, but you might consider just hooking the menu item up to send its "choose menu item" handler to your document script, and have it react accordingly.

  • Is there a format for a file that I can use for attaching a one page document with photos embedded that will open in everyone's email automatically?   I've tried PDF and Word, but worked only in Mail.  Lost formatting when just copied and pasted in email.

    Is there a format for a file that I can use for attaching a one page document with photos embedded that will open in everyone's email automatically?   I've tried PDF and Word, but PDF worked only in Mail.  Word worked in nothing.  I also tried copying and pasting the document but lost all formatting when just copied and pasted in email.  Is there a way to do this?

    Are you sure PDF won't work? It should as what you're trying to do is pretty much what it is designed for (PDF - Portable Document Format). On a Mac anywone who receives the file should be able to see it in all its page layout glory by using the app Preview or Adobe Reader. Same on a PC, the file should be viewable as a PDF file using Adobe Reader and probably some other viewer (don't use PCs so not sure what other apps).
    What application are you creating the file in and are you sure you're exporting it correctly in PDF format, fonts and images embedded?

  • Does Mac have an app that will check and correct spelling

    Does Mac have an app that will check and correct spelling

    Spell Check has been built into Mac OS X for years, including the ancient version listed in your profile. You don't need a separate app.
    Mac OS X 10.4 Help
    Checking spelling as you type
    In many Mac OS X applications, you can have the application automatically check your spelling as you type. When you mistype or misspell a word, it's underlined in red so you can quickly spot errors and correct them.
    Open the application that you want to use and choose Edit > Spelling > "Check Spelling as You Type."
    If you don't see this item in the Edit menu, the application doesn't provide the Mac OS X spell-checking feature. The application may have its own spell-checker. Look in the application's preferences or menus for a spell-checker.

  • NVIDIA Tools now not working with PS CC, is there any other add-on besides NVIDIA that will open .DDS files in photoshop?

    I had no problems with CS6 PS, but since I upgraded to PS CC, NVIDIA Tools is now not working and crashes when I try to reinstall the plug-in into PS CC. I checked NVIDIA's forums and found ZIP from them about this problem. So I am asking in here, is there another plug-in that will open .DDS files in PS? I am using Windows 7 Ultimate x64 for the OS, and I know the PS CC is 32 bit. Until I can resolve this issue, I am unable to do repaints of PMDG aircraft for my VA. Any suggestions would be greatly appreciated.

    I had a similar issue but i solved it following the instructions explained here https://wiki.archlinux.org/index.php/Bu … l.2FNVIDIA.
    I also reccomend you to install the bbswitch package which disables NVIDIA discrete graphics card when isn't used.

  • How can I create a single button similar to "most visited" that will open all of my bbokmarks in the sidebar?

    I'd like a single button similar to "most visited" that will open the sidebar showing my bookmarks rather than having to click view, hover sidebar click bookmarks. How can I do this?

    You can drag the button that opens the Bookmarks in the sidebar from the View > Toolbars > Customize window on one of the toolbars.
    See [[Navigation Toolbar items]] and http://kb.mozillazine.org/Toolbar_customization

  • Report link that will open to a new window

    Hi,
    I need a report link that will open to a new window. Below is my code.
    {="<ahref=\"http://<server>:<port>/OpenDocument/opendoc/openDocument.jsp?sRefresh=Y&sPath
    ParentFolder,subfolder&sDocname=<Report Name>=wid"\">"[ID]+"</a>"}
    Thank you.
    Rose

    Add the parameter sWindow=new to your URL
    ...openDocument.jsp?sDocname=SalesReport&sWindow=new
    OpenDocument Documentation:
    XI 3:
    http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_url_reporting_opendocument_en.pdf
    R2:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/800f7400-bf3e-2b10-fa81-c6c74f457ab4

  • How can I set the page that will open, when I open a new tab, to be the same as the homepage?

    How can I set the page that will open, when I open a new tab, to be the same as the homepage?
    An app changed it to some other search engine, before installing the app, I the tab that would open was the homepage I set.
    In my case it is Google, and I want my new tabs to open on Google like they did before the installation.
    thank you,
    Asaf Privman.

    You can middle-click or Ctrl left-click the Home button on the Navigation toolbar to open the Home page in a new tab.
    You can look at one of these extensions:
    * NewTabURL : https://addons.mozilla.org/firefox/addon/newtaburl/
    * New Tab Homepage : https://addons.mozilla.org/firefox/addon/new-tab-homepage/

  • There,are,restrictions,to,opening,PDF,files,on,an,Pad,or,Android,Device,that,will,open,in, Microsoft,Internet,Explorer,desktop,or,laptop.,If,I,bought,a,Windows,8.1,tablet,and,had,Ad obe,reader,installed,would,I,then,be,able,to,open,the,secure,document,wit

    There,are,restrictions,to,opening,PDF,files,on,an,iPad,or,Android,Device,that,will,open,in ,Microsoft,Internet,Explorer,desktop,or,laptop.,If,I,bought,a,Windows,8.1,tablet,and,had,A dobe,reader,installed,would,I,then,be,able,to,open,the,secure,document,with,Internet,Explo rer?

    What's,with,the,commas?
    If you have a tablet that runs full Windows 8 - not Windows 8 RT, which is limited.
    And if you install the full Adobe Reader for Windows, not the special Adobe Reader Touch for Windows 8.
    Then you will have the same features as a desktop.
    Unless they can't be accessed in touch mode, since it isn't a touch app.

  • CS4 will not open Nikon D7000 NEF files; Is there a DNC that will open them?

    I have CS4 and Light Room 2
    Apparently there is no Camera Raw update for the new Nikon D7000 NEF files for CS4.
    I therefore down loaded the Adobe Digital Negative Converter Verson 6.3.0.79 which is compatible with Camera Raw 5.4 or later. 
    Using that DNC, when I do step 1, "Select the images to convert" I get the message "No items match your search".  It apparently is not recongnizing the D7000 NEF files.
    Is there another DNC that will open and convert the D7000 NEF files?

    I just bought the d7000 yesterday and was experiencing the same issue with cs4. I downloaded the DNG converter from adobe and selected the whole folder where the raw files were located (I was unable to select individual images) and it worked fine. It processed the files one by one with new name (without the $500 CS5 pricetag for now). The DNG files open in bridge and psd. Perhaps try selecting the folder?  Good luck.

  • I have files that will open in Quicktime, but not itunes. Anyone that can help me, please

    I have files that will open in Quicktime, but not itunes. Anyone that can help, please?

    run the MP3's by MP3 Validator and see what happens.

  • 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

  • Payment behaviour report regarding payment to vendors

    I am looking for a report in SAP ( ECC 6.0) with which we can analyse by ( selected range of) vendor(s)  what is the average number of days that it takes to perform the actual payment to the vendor VERSUS the number of days specified in the vendor's

  • Spreadsheet and script

    HI, i need some help in oracle application express with a spreadsheet and script linkup.....if any one can help me please contact me on : [email protected] the spreadsheet contains errors which i knw off, but im confused how to fix one error so i can

  • Sess_sh sucessful,while deployejb fail

    Hi, I meet two problems when I try to deploy ejb in oracle 8.1.6. 1. when I use sess_sh to test the service,like: sess_sh -u system -p manger -s sess_iiop://machinename:2481:oracle. It sucessfully enter the shell. but when I try to deployejb,use: cal

  • Hex input using user dialog box.

    Hello I am trying to use the user dialog box to input data. I want to input the data as Hex. format. however as I select the input to be a number, it takes as a decimal number and there seems to be no option where I can change it to a hex format. Any

  • HT1338 os x 10.5 can't update anything

    My Mac is OS X 10.5.8, and I can not update anything now. How should I do? Should I need upgrade my Mac? Thanks~~