//Properties-v2 - Gets file properties. //This has two parts: //Part-1: Uses known property names to get file properties, mostly it will help english users. //Part-2: Since its impossible to include property names from all languages, the script simply scans through property IDs 1-500 and get its values. //Note1: If you want to scan more than 500 then increase the value of WHILE argument in the second part of the script //Note2: Some values will be redundant as I use two different methods. //PART-1: Get known property names $item=; $p1=Access; $p2=Album; $p3=AllocSize; $p4=Aperture; $p5=Artist; $p6=Attrib; $p7=Attributes; $p8=AttributesDescription; $p9=Audio Format; $p10=Audio Sample Size; $p11=BitDepth; $p12=Bitrate; $p13=CameraModel; $p14=Capacity; $p15=Channels; $p16=ColorSpace; $p17=Company; $p18=Compression; $p19=Copyright; $p20=Create; $p21=CSCStatus; $p22=Data Rate; $p23=DateDeleted; $p24=DeletedFrom; $p25=Dimensions; $p26=Directory; $p27=Distance; $p28=DocAppName; $p29=DocAuthor; $p30=DocByteCount; $p31=DocCategory; $p32=DocCharCount; $p33=DocComments; $p34=DocCompany; $p35=DocCreatedTm; $p36=DocEditTime; $p37=DocHiddenCount; $p38=DocKeywords; $p39=DocLastAuthor; $p40=DocLastPrinted; $p41=DocLastSavedTm; $p42=DocLineCount; $p43=DocManager; $p44=DocNoteCount; $p45=DocPageCount; $p46=DocParaCount; $p47=DocPresentationTarget; $p48=DocRevNumber; $p49=DocSlideCount; $p50=DocSubject; $p51=DocTemplate; $p52=DocTitle; $p53=DocWordCount; $p54=DRM Description; $p55=Duration; $p56=EquipMake; $p57=ExposureBias; $p58=ExposureProg; $p59=ExposureTime; $p60=FaxCallerID; $p61=FaxCSID; $p62=FaxRecipientName; $p63=FaxRecipientNumber; $p64=FaxRouting; $p65=FaxSenderName; $p66=FaxTime; $p67=FaxTSID; $p68=FileDescription; $p69=FileSystem; $p70=FileType; $p71=FileVersion; $p72=Flash; $p73=FlashEnergy; $p74=FNumber; $p75=FocalLength; $p76=Frame Rate; $p77=FrameCount; $p78=FreeSpace; $p79=Genre; $p80=ImageX; $p81=ImageY; $p82=ISOSpeed; $p83=LightSource; $p84=LinksUpToDate; $p85=LinkTarget; $p86=Lyrics; $p87=Manager; $p88=MeteringMode; $p89=MMClipCount; $p90=Name; $p91=Owner; $p92=Play Count; $p93=Play Expires; $p94=Play Starts; $p95=PresentationTarget; $p96=ProductName; $p97=ProductVersion; $p98=Project; $p99=Protected; $p100=Rank; $p101=Rating; $p102=ResolutionX; $p103=ResolutionY; $p104=Sample Rate; $p105=Scale; $p106=ShutterSpeed; $p107=Size; $p108=Software; $p109=Status; $p110=Stream Name; $p111=SyncCopyIn; $p112=Track; $p113=Type; $p114=Video Sample Size; $p115=WhenTaken; $p116=Write; $p117=Year; $total=117; $count=1; copytext; WHILE ($count < 118) { $property= eval($p$count); $prop= property ("$property", "$item"); IF ($prop == "") { incr $count; } ELSE { copytext ("$property = $prop ", a); incr $count; } } //Part-2: Get IDs #1-#500 //You can change the WHILE argument to more than 500 to get higher # values. $count=1; WHILE ($count < 500) { $property= "#$count"; $prop= property ("$property", "$item"); IF ($prop == "") { incr $count; } ELSE { copytext ("$property = $prop ", a); incr $count; } } $clip= ; status "Properties copied to clipboard"; text $clip;