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

i.shaun

macrumors 6502a
Original poster
Is there an apple script or something that can change icons automatically between files?


I have a small movie library, which I created icon files for (with a frame from the movie). I just have to "get info" on each movie individually, and copy the image icon over the movie's generic icon. I can't use poster frames in iTunes/Quicktime because they're not all quicktime compatible, and I didn't want to re-encode everything.


I'm just wondering if it is simple to write a script that will ask for an item (the image), copy it's Icon, then ask for a second item (the movie) and paste the icon to that.


If it is possible, the process would go a little faster both now, and for any others I do in the future.
 
Alright, I just tried something I googles called "dropplings" which are applescript apps that perform various actions upon dropping a file on them.


I did:

Code:
on open files_
	tell application "Finder"
		copy icon of files_ to clipboard
		
	end tell
	
end open

It gives me an error which I believe is due to the fact that this script isn't working with the actual file, but an alias to the file (which would not help because the alias has a generic icon).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.