Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OPENFILEDIALOG$ question on a Mac
#4
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.
Reply


Messages In This Thread
OPENFILEDIALOG$ question on a Mac - by NakedApe - 12-22-2023, 09:36 PM
RE: OPENFILEDIALOG$ question on a Mac - by bplus - 12-23-2023, 12:21 AM
RE: OPENFILEDIALOG$ question on a Mac - by NakedApe - 12-23-2023, 12:21 AM
RE: OPENFILEDIALOG$ question on a Mac - by bplus - 12-23-2023, 12:30 AM



Users browsing this thread: 2 Guest(s)