1

Using window.frame.openDialog, I am not able to select the files from the Open dialog box in Mac OS X. I could select the directory but not the files. Is there any way to select the files?

My code is:

window.frame.openDialog({
  type: 'open',
  title: 'Open...',
  multiSelect: false,
  acceptTypes: {
    'Images': ['*.hwc']
  },
  dirSelect: false,
  initialValue: '/'
});
hexacyanide
  • 88,222
  • 31
  • 159
  • 162
ABHILASH SB
  • 2,122
  • 2
  • 21
  • 31

1 Answers1

1

In MAC it is not possible to select files using window.frame.openDialog, instead of you can search and select file using fs.readFile.