12 replies
I have tried unsuccessfully to install Michel Komarov's Simple Script for OTOs, but it didn't work. I am trying to determine if the reason could be that I'm using a Mac.

Has anyone had success installing this script on a Mac? Alternatively, can anyone suggest an OTO script that they know does work on a Mac?

Thanks...
#mac #oto #script
  • Profile picture of the author TheRichJerksNet
    script ?? You mean a php script ? That has nothing to do with Mac or Windows .. It runs from your server which most are normally linux...

    James
    {{ DiscussionBoard.errors[1949892].message }}
    • Profile picture of the author ProfessorBob
      It's actually an html script, and I'm concerned that the Mac's text editor is a bit different from Notepad, and that perhaps something was changed when I saved the file as an html type.
      {{ DiscussionBoard.errors[1949907].message }}
      • Profile picture of the author TheRichJerksNet
        Originally Posted by ProfessorBob View Post

        It's actually an html script, and I'm concerned that the Mac's text editor is a bit different from Notepad, and that perhaps something was changed when I saved the file as an html type.
        Depending upon what the html was actually written with to begin with.. Also depending upon charset (utf-8) output... It could add white spaces in the html.

        If it was originally done on word (which is one of the word text editors ever made) it could be adding hidden characters to the file that you can not see..

        James
        {{ DiscussionBoard.errors[1949935].message }}
      • Profile picture of the author The Copy Nazi
        Banned
        Originally Posted by ProfessorBob View Post

        It's actually an html script, and I'm concerned that the Mac's text editor is a bit different from Notepad, and that perhaps something was changed when I saved the file as an html type.
        Yep..that can happen if you cut and paste. I'm on an iMac. Try typing it out.
        {{ DiscussionBoard.errors[1949938].message }}
      • Profile picture of the author Mrs S
        Originally Posted by ProfessorBob View Post

        It's actually an html script, and I'm concerned that the Mac's text editor is a bit different from Notepad, and that perhaps something was changed when I saved the file as an html type.
        Download Text Wrangler (it's free) which is much better for editing code on a Mac. If you are using TextEdit you need to go into the settings in the preferences area and switch from .rtf to .txt otherwise you will have issues.
        {{ DiscussionBoard.errors[1950848].message }}
      • Profile picture of the author SageSound
        The problem isn't the Mac, per se. I routinely work with scripts on my Mac with no trouble at all.

        Originally Posted by ProfessorBob View Post

        It's actually an html script, and I'm concerned that the Mac's text editor is a bit different from Notepad, and that perhaps something was changed when I saved the file as an html type.
        This is probably your problem: Mac's TextEdit saves files in RTF format by default. Mine won't even let me save in raw ASCII (ie., txt) format. I have no idea what it would do to a html or php file other than scramble it up. Sadly, when you open it up again, it'll "look" just fine.

        Get a separate text editor. I use Smultron for editing scripts and html files.

        -David
        {{ DiscussionBoard.errors[1951216].message }}
        • Profile picture of the author Dan C. Rinnert
          Originally Posted by SageSound View Post

          This is probably your problem: Mac's TextEdit saves files in RTF format by default. Mine won't even let me save in raw ASCII (ie., txt) format.
          It won't? I use it to save plain text files all the time.
          Signature

          Dan's content is irregularly read by handfuls of people. Join the elite few by reading his blog: dcrBlogs.com, following him on Twitter: dcrTweets.com or reading his fiction: dcrWrites.com but NOT by Clicking Here!

          Dan also writes content for hire, but you can't afford him anyway.
          {{ DiscussionBoard.errors[1951952].message }}
  • Profile picture of the author Boomachucka
    Encoding maybe?

    I can't see it making a difference, but I've had funny things happen in the past because of that.
    {{ DiscussionBoard.errors[1949920].message }}
  • Profile picture of the author Istvan Horvath
    I am not sure PC vs. Mac makes such a difference when it comes about editing a simple html file.

    I use PSPad on my PC (Win XP) and TextWrangler on my Mac OS X (10.4.11) - even if I switch between them they never change/alter my initial code.
    Signature

    {{ DiscussionBoard.errors[1950221].message }}
    • Profile picture of the author TheRichJerksNet
      Originally Posted by Istvan Horvath View Post

      I am not sure PC vs. Mac makes such a difference when it comes about editing a simple html file.

      I use PSPad on my PC (Win XP) and TextWrangler on my Mac OS X (10.4.11) - even if I switch between them they never change/alter my initial code.
      Yeah Istvan it does ... Especially if you are using Word for windows and SimpleText for Mac..

      My suggestion to the OP is to contact support of the product and ask them what they use.

      James
      {{ DiscussionBoard.errors[1950830].message }}
      • Profile picture of the author Istvan Horvath
        Originally Posted by TheRichJerksNet View Post

        Yeah Istvan it does ... Especially if you are using Word for windows and SimpleText for Mac..
        Well, I may be slow on certain days... but I am not that idiot (to edit html files in Word).
        Signature

        {{ DiscussionBoard.errors[1951646].message }}
  • Profile picture of the author aandersen
    out of disbelief that any os would come without a native text editor i had to google it.. im assuming textEdit is the mac's text editor and if so this is how you can change it to plain text

    Mac OS X: How to Set Up TextEdit as an HTML or Plain Text Editor

    but it seems to be a global setting and not a per file basis. and apparently

    2. TextEdit may continue to render files saved from Web browsers as HTML Source, ignoring the preferences you have set. As a workaround (after following the steps above) view the source code in the Web browser and copy/paste the text into a new TextEdit document.

    i dont know.. the mac way of things is just toooo cool for me, i dont get it.


    mac os is built on bsd right, so i would assume that it comes with vi or pico installed

    you could always use that in a pinch

    $pico ~/Desktop/yourfile.html

    or whatever, but i think ths is not very "mac like" of a thing to do lol... i dont know


    good luck
    Signature

    signature goes here

    {{ DiscussionBoard.errors[1951585].message }}

Trending Topics