By Using the Text Field Component - Scripting - mouseReleased - Script Editor
path = system.file.openFile()
I have been able to bring up a popup for selecting a file.
How do I move the selected file’s path into the same text Field’s Text Property?
Properly formatted so the selected file (image) can be displayed in an Image component.
Add something like this to your script (edit to match your components):
event.source.parent.textField.text = path
Or are you already getting the path into the field but there’s a formatting issue? Share your code and details of what is not working as desired if you’d like a more detailed answer.
Okay, so defaultLocation = isn’t going to let us skip the file type. I’m not in a position to test at the moment, but a couple options I’d try if you haven’t already:
The term ‘None’ must have the first letter capitalized. i first tried ‘none’ and received an error msg.
Tested and works exactly like I was hoping.
Thanks to all for your help.