Also known as: the case of the vanishing files...
HyperNext creates some default folders within the Data folder for each project: Backs; Code; Movies (containing 'blank.mov'); Pictures; SoundFiles; Sounds; Temp; Texts. It would be helpful to know what these are for - as well as what they are not for.
Why do I ask? Because one of them made a whole set of my mp3 files vanish from within it.
For my spelling test program, I created one set of text files and I also recorded two sets of sound files, which I want to keep separate because some are programmed in while others are user created.
I put the text files (containing several lists of spelling words) into the Texts folder, which works fine. I recorded mp3's of me pronouncing the spelling words and I put them into the SoundFiles folder, which works just fine. This is something any user could do, so it's a dynamic collection of files.
I also recorded nearly 40 different files that provide various verbal prompts, encouragements, congratulations, etc. and put them into the Sounds folder - and they all vanished as soon as I opened the program. Well, all except for one file. And this was before my program had tried to access or do anything with these files - which are only used with the SoundPlay command as called for. As an experiment, I put new copies of these file into the Sounds folder and again they all vanished, except for the same single file. I concluded that wouldn't work so, within the Data folder, I created a new folder which I named Prompts, and I put new copies of my mp3 files into it, changed my code accordingly so the program could find the files, and it all works fine.
Apparently, the Sounds folder is not for me to put any files into. So, the question is: What is the Sounds folder for, and why did it make all but one of my mp3 files vanish as soon as I opened my spelling program? And why did that same one file remain each time? (It was not the first one on the list, nor the last, but in the middle of the sorting list, and it was neither the first nor the last one created.)
And, while I'm at it, what are all the other folders for, or not for?
Obviously, I've been able to use the SoundFiles and Texts folders successfully. But I was not able to use the Sounds folder as I thought I might be able to. So this leads me to wonder about, and be very cautious of, the purpose of the other default folders. And why does Movies contain 'blank.mov' while all of the other folders start out empty?
Oh, and why did HyperNext create two "invisible" files named 'spdata' and 'spreses' in the Data folder for my program? (I've already read about the "invisible" '.DS_Store' file elsewhere on this forum. I have to filter that name out of the list of spelling word files in that folder each time I load them into the popup menu.)
This is all stuff that needs to be documented for us. Or have I missed seeing info about this somewhere?