Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

7on

macrumors 601
Original poster
Nov 9, 2003
4,939
0
Dress Rosa
So I have this folder of clips i downloaded off the internet - trouble is they all lost their spotlight comments randomly - I do not know what happened. help...

Now this is weird... the comments don't show up but if i search for the comment in spotlight all files suddenly are found...
 

7on

macrumors 601
Original poster
Nov 9, 2003
4,939
0
Dress Rosa
alright, using
Code:
(* This script will open any selected file/s in finder and do a shell 
   script "mdls" to get the metadata of the file/s, and display the result
   in a Texedit document for each file *)

tell application "Finder"
	set miTem to selection
	repeat with i from 1 to number of items in miTem
		set this_item to item i of miTem as string
		set this_item to POSIX path of this_item
		do shell script "mdls " & quoted form of this_item & " | open -f"
		
	end repeat
end tell
I was able to "see" the metadata of the file but not edit it
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.