I want to use textedit object with \ backslash, how?


    May 03 2014 | 4:09 pm
    I want to type a folder path into textedit object
    c:\bla\bla\bla
    and use whatever objects are needed to convert to
    c:/bla/bla/bla
    I tried regexp, sprintf, tosymbol, fromsymbol, conformpath, not sure what I'm doing wrong.
    The reason I'm using a textedit box instead of opendialog is because I don't want to folder-dive. the Browse for Folder dialog has no input for folder. http://www.elanhickler.com/_/folder_diving_problem.png

    • May 03 2014 | 8:46 pm
      the "\" is very problematic in Max. If you type \\\\ in textedit, it will output \\. You apparently cant output only one \ ; anyway you'll need the supplementary \ based on how much tiems you will output it afterwards...
    • May 04 2014 | 12:21 am
      I decided to use external text file, and replacing backslashes with forward slashes in that textfile, then Max doen't have to do any path conversion. It's the most convenient way I've found.