opendialog-->java path string


    Apr 06 2007 | 8:13 am
    sorry for two questions so close together..
    is there any bulletproof method for canverting a max path to a string usable by the File class constructor? I almost had it down with regexps... but I'm not sure about alternative hard drives.

    • Apr 06 2007 | 8:42 am
      do you mean ou want to convert something like
      Data:/Dir1/Dir2/test.aif
      to
      /Volumes/Data/Dir1/Dir2/test.aif
      ?
      G
    • Apr 06 2007 | 11:04 am
      On 6 Apr 2007, at 09:13, Matthew Aidekman wrote:
      > is there any bulletproof method for canverting a max path to a > string usable by the File class constructor?
      com.cycling74.max.MaxSystem.maxPathToNativePath()
      The class has methods for various kinds of path format munging.
      -- N.
      Nick Rothwell / Cassiel.com Limited www.cassiel.com www.myspace.com/cassieldotcom www.loadbang.net
    • Apr 06 2007 | 4:19 pm
      Matt ! RTFM sorry, I was so focused on trying to find something on the sun side, I forgot about the cycling side...