@ar2rsawseen and others, i realized that the media plugin is almost good for saving/loading file with dialog on desktop.
-for loading mediamanager:getPicture() would be perfect, except that it forces you given file extensions. can you make a mediamanager:getFile() version? i guess it should be really simple.
-for saving mediamanager:postPicture() is perfect, there you can already use it to save any file extension (or even change the extension), which is good. the only problem is that it opens the folder where the file to save is located, which is the working directory of fragmenter in my case, not so nice. there should be an option to set the initial directory (as i would set it to the root or if this is not the first time one saves a file then the previous folder he has chosen) - this applies to the previous getPicture/getFile too of course. probably such a saving method should be called mediamanager:postFile() or something to make it clear that it's not just for pictures.
-ideally i'd like to load multiple files with such native dialog, in case that's easy to add.
No, the docs are in the allplugins folder in program files - we really need someone to go through updating all the docs on the website to match what is now - anyone up for this task?
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
I don't have access but i guess if i get access then i can build up a minimal reference for media from the install.html file that is in allplugins/gmedia. and later i can add other missing ones too of course, given time, or others can do other plugins.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Comments
i realized that the media plugin is almost good for saving/loading file with dialog on desktop.
-for loading mediamanager:getPicture() would be perfect, except that it forces you given file extensions. can you make a mediamanager:getFile() version? i guess it should be really simple.
-for saving mediamanager:postPicture() is perfect, there you can already use it to save any file extension (or even change the extension), which is good. the only problem is that it opens the folder where the file to save is located, which is the working directory of fragmenter in my case, not so nice. there should be an option to set the initial directory (as i would set it to the root or if this is not the first time one saves a file then the previous folder he has chosen) - this applies to the previous getPicture/getFile too of course.
probably such a saving method should be called mediamanager:postFile() or something to make it clear that it's not just for pictures.
-ideally i'd like to load multiple files with such native dialog, in case that's easy to add.
i hope i do not ask for much, thanks
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: antix, SinisterSoft
Fragmenter - animated loop machine and IKONOMIKON - the memory game
https://deluxepixel.com
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: keszegh, antix
https://deluxepixel.com