Wednesday September 15, 2021; 10:02 AM EDT
- file.writeWholeFile verb is supposed to automatically create the folder to contain the file being written but it wasn't doing it. #
- This code should create the private sub-folder "code" because you wrote a file into it. #
- file.writeWholeFile ("code/alert.js", "dialog.alert ('Yo')") #
- BTW, a bonus for people who are reading this...#
- You could run that script this way:#
- drummer.runScript (file.readWholeFile ("code/alert.js"))#
- You could also put that under an icon.#
- Starting to piece together the top level scripting culture in Drummer. #
- I was wondering if all that would work, and with this fix, it does.#