Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to output date created and date modified?
#7
Hi Kevin,
hopefully this is a brief question:

Do you know how to get a list containing DateTaken from all the files in a folder?

I combined the lines below:

int i
ARRAY(str) a
GetFilesInFolder a "$Desktop$\TEST\" ""
a.sort(8)
for i 0 a.len
    out a[i]

with your function that display the DateTaken

and changed the line below

from
str path.expandpath("$desktop$\test\25.jpg")
to
str path.expandpath("a[i]")

I don't know what is going on, but it returns the following error:


Error (RT) in <open ":1590: /144">Macro2:  0x80131500,
    Parameter is not valid.
    at Example.StaticFunc(String s).    <help #IDP_ERR>?

Do you know what can be going wrong?
Thank you
Emerson


Messages In This Thread
RE: How to output date created and date modified? - by Emerson - 08-06-2019, 05:01 AM

Forum Jump:


Users browsing this thread: 5 Guest(s)