Gui commands for loading


just wanted to ask about loading external files. i know obviously about loading them in in oF in setup. but what im looking for is to use a gui to load external files. say mp3 or .wav to picture files.
i wish there was a example given, but there isnt.

can someone point me in a good direction?

it is very simple can use the ofSystemLoadDialog() function that will open a system default dialog.
there is an example indeed. in utils > fileOpenSaveDialogExample
then you can filter the files based on the extension. use ofFilePath::getExtension(string path) to get the extension of the file easily.


aaah, great. seem to completely forget. thanks @roymacdonald