Page 1 of 1
Can I list the filenames within a folder?
Posted: Tue Jun 14, 2022 8:53 pm
by M-A Kuttner
Hi all. I'm trying to get a list of all of the filenames within a folder, like what an "ls" command returns for a directory in a terminal shell. Is this possible?
Thanks in advance!
M-A
Re: Can I list the filenames within a folder?
Posted: Tue Jun 14, 2022 9:58 pm
by FourthWorld
See the "files" function in the Dictionary, and note the nifty "detailed files" option.
Re: Can I list the filenames within a folder?
Posted: Tue Jun 14, 2022 10:56 pm
by dunbarx
Hi.
What Richard said.
And if you are poking around getting files, then know that there is, as you might imagine, a "folders" function that does much the same thing. Between the two, you can poke to your hearts content.
Craig
Re: Can I list the filenames within a folder?
Posted: Wed Jun 15, 2022 6:22 pm
by M-A Kuttner
Thanks Craig. And thanks also Richard. I've been a Fourth World fan going back 30 years to the SuperCard forums, so I'm feeling a little starstruck at you replying.

Re: Can I list the filenames within a folder?
Posted: Thu Jun 16, 2022 6:10 pm
by FourthWorld
M-A Kuttner wrote: ↑Wed Jun 15, 2022 6:22 pm
Thanks Craig. And thanks also Richard. I've been a Fourth World fan going back 30 years to the SuperCard forums, so I'm feeling a little starstruck at you replying.
Wow. Thank you.
I remember your name from the SC world. Very good to see you here. What are you working on these days?
Re: Can I list the filenames within a folder?
Posted: Wed Jun 22, 2022 8:52 pm
by M-A Kuttner
Nice to be remembered, Richard!.

I ended up being a TV producer for a number of years, and then came back to doing interactive stuff. I'm currently working with a group on an interactive toy called Snorble -
https://snorble.com/. It sits in a lighted charging stand with programmable LEDs, and I was brought on to provide animation sequences for the LEDs. Long story short - The software they were using for it was not great and the company that produces it told us they'd need a seven or eight figure order in order to justify updating the software. So at that point, I said "well, I know a little programming", and now I've built a piece of custom LED animation software using LC! It's nice to dust off the old skills, for sure.