file information

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
drOrganized
Posts: 24
Joined: Tue Dec 04, 2007 7:02 pm
Location: Saratoga Springs

file information

Post by drOrganized » Sun Jul 10, 2011 8:00 pm

I would like to be able to access the file information , i.e. date created, date modified, pertaining to files in a folder...
I understand how to get a list of files in a folder using "the files" syntax. How can I access the information about that file so that I can display each file with the date, etc?

Thanks in advance for your help... !

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7266
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: file information

Post by jacque » Sun Jul 10, 2011 9:04 pm

Use "the detailed files" to get the list. That returns all the info.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

drOrganized
Posts: 24
Joined: Tue Dec 04, 2007 7:02 pm
Location: Saratoga Springs

Re: file information

Post by drOrganized » Mon Jul 11, 2011 3:15 am

Dear Jaque,

Thanks for your reply.

CAn you tell me what all the numbers of the result mean. I understand that the 2nd item is file size,a dn it looks like 4th and 5th are the dates in seconds. What about the rest?

Unfortunate that this is not documented somewhere...

Thanks again,
M~

wsamples
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 262
Joined: Mon May 18, 2009 4:12 am

Re: file information

Post by wsamples » Mon Jul 11, 2011 4:05 am

Check the entry "files" in the Livecode dictionary. It gives a full explanation.

drOrganized
Posts: 24
Joined: Tue Dec 04, 2007 7:02 pm
Location: Saratoga Springs

Re: file information

Post by drOrganized » Mon Jul 11, 2011 11:56 am

thank you...

Klaus
Posts: 13878
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: file information

Post by Klaus » Mon Jul 11, 2011 6:11 pm

This is everything but OFF-Topic, so I will move this thread to another forum! 8)

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”