Office Online Clipart Helper

When downloading clipart from Microsoft’s online clipart site (http://office.microsoft.com/en-us/clipart/) you may have difficulty importing the files into the Office X or 2004 clipart gallery on your local machine.

Assign this droplet app as the default handler for “application/vnd.ms-artgalry” files in your browser or drag-and-drop the downloaded files onto it and you’re good to go.

[Tested with Tiger (10.4.8 on Intel iMac) and Panther (10.3.9 on G5 iMac) with Office 2004. Should also work with Office X (not tested).]


-- Just a simple script to fix Microsoft's Online Clipart sillyness.
-- Written by Steven Hunter (hunters@NOSPAMpurdue.edu)
-- No warranty implied or expressed
-- Version 1.1, 11/30/2006

on open theFiles
	repeat with aFile in theFiles
		set fname to quoted form of POSIX path of aFile
		do shell script ("mv " & fname & " " & fname & ".cil") 
		--The Clipart utility is too unbelievable stupid to open files that lack this extension
		--even though OSX assigns them to it (by creator type) correctly.
		tell application "Finder"
			open aFile --Use the default handler to open the file
			delay 5 --A reasonably short pause to make sure the file is imported OK. You may need to tweak this if you have a *really* slow machine.
			delete aFile --Clean up the leftover browser turd
		end tell
	end repeat
end open