Hey!
I am working on a picture loader *cough* well it's actually all just moded code and now I'd like to implement a function that gets the number of structure members of the files of a folder (e.g. I have a folder with 10 imagefiles, I'd like to have an operator that returns "10").
So what I basically have is an Image Loader that reads the index of a folder and then I have a function that increments or decrements the index member (to go to next or previous image in that folder). The problem now is that when e.g. image 10 is reached it will increment still by one but when there is no indexmember 11 ... it won't work - so I need to make a loop that reads out the file number of that folder and then resets the counter.
I tried a lot but I am not coming any further - I won't start trying to explain what I already tried ... it was a lot - but it didn't get me any further.
If someone has an idea, I'd be very happy!
Enclosed you'll find the project - maybe somebody else has a use for this too (my idea was to map two buttons to the music / other inputs to "next picture", "Prev picture" ...I think it's pretty nice - best of course would be if there was a transition between the images - but that's for later maybe
Short story long... Hope it's not TL,TR
Cheers!