Announcement

Collapse
No announcement yet.

Dialog.FileBrowse - how to save the name of the selected file as string

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ronwilliams
    replied
    Hi, thanks Shrek.. I found it...

    Thanks man

    Leave a comment:


  • ronwilliams
    replied
    Thanks Shrek.
    Can you please elaborate a bit. From the way I understand it only a table with the complete paths is returned and not just the name of the selected file.

    Maybe a small example....if you have the energy?
    Thanks

    Leave a comment:


  • Shrek
    replied
    There is a string split path function, it returns a table with all the parts ie .filename

    Leave a comment:


  • Dialog.FileBrowse - how to save the name of the selected file as string

    local sFilename = Dialog.FileBrowse(true, "Load File", _DesktopFolder, "|", "", "", false, true);

    I can only get the path of the selected file....how do I get the name as a string?


    Regards
    Ron
Working...
X