12-23-2023, 12:21 AM
Thanks, mnrvovrfc. Well in the Mac world this works fine:
file$ = _OPENFILEDIALOG$("Open Files", "", "*.txt|*.bas|*.mp3|*.ogg|*.wav", "Files", 0)
IF file$ <> "" THEN _MESSAGEBOX "Information", "You selected " + file$
I tried it a bunch of different ways. The second parameter can be just "" here (which = current directory/folder), but without specific files listed in the third parameter there are no results. Also unfortunately "*.*" doesn't work on a Mac, but "*.xxx" does - weird. Thanks again.
file$ = _OPENFILEDIALOG$("Open Files", "", "*.txt|*.bas|*.mp3|*.ogg|*.wav", "Files", 0)
IF file$ <> "" THEN _MESSAGEBOX "Information", "You selected " + file$
I tried it a bunch of different ways. The second parameter can be just "" here (which = current directory/folder), but without specific files listed in the third parameter there are no results. Also unfortunately "*.*" doesn't work on a Mac, but "*.xxx" does - weird. Thanks again.