found this in the forum later
Function get_file_extended_properties1
topic with more functions startsĀ
http://www.quickmacros.com/forum/showthr...7#pid25547
Function get_file_extended_properties1
;Gets only specified columns
out
str folder="$desktop$\test"
folder.expandpath
str filename="1.jpg"
str getColumns="Date taken"
Shell32.Shell x._create
Shell32.Folder f=x.NameSpace(folder)
;get column names
ARRAY(str) columns
int i
for(i 0 1000000) _s=f.GetDetailsOf(0 i); if(_s.len) columns[]=_s; else break
;for(i 0 columns.len) out columns[i];;uncomment to see all column names
;find indices of columns specified in getColumns
ARRAY(int) colIndices
foreach _s getColumns
,for(i 0 columns.len) if(_s=columns[i]) colIndices[]=i; break
;display data of specified columns of the file
Shell32.FolderItem k=f.ParseName(filename)
str name=k.Name
for i 0 colIndices.len
,int j=colIndices[i]
,_s=f.GetDetailsOf(k j)
,out F"{columns[j]}={_s}"
topic with more functions startsĀ
http://www.quickmacros.com/forum/showthr...7#pid25547