Existing users, log in.  New users, create a free account.  Lost password?

1 comments |

Applescript example code, if you're interested... - justamacuser

(Copy and paste into Scripteditor)
-- you need to create a playlist that contains 
-- all the files you want to batch-process
-- and name it "BatchFiles" for the script to work
-- that's quick & dirty, so better have at least one file
-- in your playlist or else...

tell application "iTunes"
	set myList to a reference to playlist "BatchFiles"
	set myPointer to the number of tracks of myList
		
	repeat
		set myFile to track myPointer of myList
		set myPointer to myPointer - 1
		set theSourceFile to the location of myFile
		try
			set myTime to the creation date of the (info for theSourceFile) as string
			tell myFile
				set comment to (comment & " | File encoded on " & myTime) as text
			end tell
		on error
			display dialog "Problem with " & theSourceFile as string
		end try
		
		if myTotal is 0 then exit repeat
	end repeat
end tell

Reply to This

Thursday, November 30 2006 @ 04:05 PM PST