Can I list the filenames within a folder?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Posts: 50
- Joined: Mon Apr 03, 2017 3:55 pm
Can I list the filenames within a folder?
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
Thanks in advance!
M-A
Hypertalk developer on and off since the days of SuperCard. Currently using LC to do rapid prototyping for a new kids' toy.
-
- VIP Livecode Opensource Backer
- Posts: 10045
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Can I list the filenames within a folder?
See the "files" function in the Dictionary, and note the nifty "detailed files" option.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Can I list the filenames within a folder?
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
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
-
- Posts: 50
- Joined: Mon Apr 03, 2017 3:55 pm
Re: Can I list the filenames within a folder?
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. 

Hypertalk developer on and off since the days of SuperCard. Currently using LC to do rapid prototyping for a new kids' toy.
-
- VIP Livecode Opensource Backer
- Posts: 10045
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Can I list the filenames within a folder?
Wow. Thank you.M-A Kuttner wrote: ↑Wed Jun 15, 2022 6:22 pmThanks 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.![]()
I remember your name from the SC world. Very good to see you here. What are you working on these days?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
-
- Posts: 50
- Joined: Mon Apr 03, 2017 3:55 pm
Re: Can I list the filenames within a folder?
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.

Hypertalk developer on and off since the days of SuperCard. Currently using LC to do rapid prototyping for a new kids' toy.