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

Possibly Related Threads…
Thread Author Replies Views Last Post
  Mac print #file crlf? BlameTroi 5 342 02-16-2026, 08:42 PM
Last Post: BlameTroi
  Mac debugger not connecting, a user error! BlameTroi 0 110 02-07-2026, 06:18 PM
Last Post: BlameTroi
  Mac current release sigabrt BlameTroi 3 237 02-05-2026, 02:26 PM
Last Post: a740g
  _Putimage Question. Pete 11 724 01-04-2026, 09:33 PM
Last Post: Pete
  Joysticks on a Mac, _DEVICEINPUT() NakedApe 15 1,741 01-01-2026, 04:05 PM
Last Post: pmackay

Forum Jump:


Users browsing this thread: 1 Guest(s)