2 Replies Latest reply on Jun 17, 2012 8:14 AM by xbytor2

    File.openDlg bug

    xbytor2 Level 4

      I think I've found a bug in CS6/Mac.

       

      This bit of code illustrates the problem:

       

      var f = File("~/Desktop/test.jpg");
      var files = f.openDlg();
      

       

       

      This should provide a File Open dialog on Desktop with the file "test.jpg" preselected and you can select any type of file since a file selector was not specified.

       

      This works fine on Win7 but on the Mac, it will only let you select jpg files. Even if you specify a selector to step around this, it still will only let you choose jpgs.

       

      Can somebody test this for me on the Mac? I want to be sure I don't have a busted install.

       

      TIA

       

      -X