Hmmm, pretty tricky to get this working in a JS process, all I manage to do is print the content to the console but cannot find a way to get the actual data back into the script … any hints ?
Device.exec("Util.readFile('" + path + "')");
Sorry if I’m missing something obvious again.
EDIT : nevermind, I will read the docs more in-depth (but hints still welcome)
EDIT2 : Giving up for now, I tried to drop some scripts / modules in the user library and use them from a JS process, but still no luck …
I’m starting to think I’m trying to do things an unintended way, otherwise these functions would be referenced in the JS process section, and the subtitle above wouldn’t say “Writing JS scripts to perform editor actions”, which is not what I’m after.
I’ll wait for the SDK to be fixed on mac (it seems to be working as expected on windows and linux)