For the record, (and to return to the original posting in the thread, I type the sample for UI,openpanel from the documentation into the new SU 7 Ruby console
chosen_image = UI.openpanel "Open Image File", "c;\\", "Shapes.jpg"It works ok (but begs the question of why you would supply and existing path and file to UI.openpanel).
When I change it to use wildcards,
chosen_image = UI.openpanel "Open Image File", "c;\\", "*.jpg"It shows _.jpg as the file name (underscore instead of *) and does not filter for .JPG files.