Making Color Icons for Actions In Finder Toolbar

:slight_smile: There are various solutions to get color back into the Finder Sidebar, but I have not found any discussions of how to add color to the Finder Toolbar. I think it is actually rather easy to do (for a reasonably experienced Apple Scripter). Simply create a script application to perform a desired action, find a color icon on the web, and copy & paste icon into the GetInfo box for the Applescript application file. Then command-drag the application file to the Toolbar.

I am a novice scripter and have created 3 of them: Get Info, New Folder, and Delete. I would love to also have script codes for other Toolbar actions including Forward/Back, Action, Path, View, and Arrange. I hope someone(s) may post some here.

Here are my (working) scripts.

GET INFO

tell application "Finder"
	
	set highlightedList to selection
	repeat with xyz in highlightedList
		
		set theFile to xyz as alias
		
		try
			open information window of file theFile
		on error -- if selected item is a folder rather than a file...
			set theFolder to xyz as alias
			open information window of folder theFolder
		end try
		
	end repeat
end tell

DELETE

tell application "Finder"
	
	set highlightedList to selection
	repeat with xyz in highlightedList
		set theFile to xyz as alias
		
		try
			delete file theFile
		on error -- if selected item is a folder rather than a file...
			set theFolder to xyz as alias
			delete folder theFolder
		end try
		
	end repeat
end tell

NEW FOLDER

tell application "Finder"
        -- Delete the file (or folder) selected in front Finder window	
	set currentFolder to (folder of the front window) as alias
	
	try
		make new folder at currentFolder with properties {name:"Untitled"}
	on error
		-- If folder "Untitled" already exists (and perhaps also "Untitled Copy, etc.)
		duplicate folder "Untitled" of currentFolder
	end try
	
end tell

Model: iMac Mid 2011
AppleScript: 2.8.1
Browser: Chrome 52.0.2743.82
Operating System: Mac OS X (10.10)