Folder icons different colors
Once created the service, you right-click directly on the folder (in the Finder), choose and start the service. Set appIconResources to (scriptsPath & "setCustomIconForFolder.scptd:Contents:Resources:") as aliasīy the way, in Automator you can create a great service for this task. Property scriptsPath : path to scripts folder from user domain as text
![folder icons different colors folder icons different colors](https://img.freepik.com/premium-photo/spring-flowers-different-colors-roses-pale-pink-background-free-space-text_668613-6.jpg)
This is what ASOC can do, and maybe I or someone else will publish it.
![folder icons different colors folder icons different colors](https://i.etsystatic.com/24257404/r/il/9d572b/2762569476/il_fullxfull.2762569476_1836.jpg)
To replicate what you’re doing in Preview, a real ASOC script needs to change saturation, brightness, and so on. Set aRect to current application's NSMakeRect(0, 0, anImage's |size|()'s width(), anImage's |size|()'s height())Ĭurrent application's NSBezierPath's fillRect:aRect
![folder icons different colors folder icons different colors](https://image.shutterstock.com/image-vector/colorful-folders-icon-set-file-260nw-1843740310.jpg)
Set aColor to current application's NSColor's colorWithRed:255 green:2 blue:255 alpha:1.0 Set ws to current application's NSWorkspace's sharedWorkspace() Set aFold to POSIX path of (choose folder "Select folder to change icon") It just gives a filled icon, but gives you some idea. The following simple script is not what you are asking. 43K views 1 year ago windows changefoldercolor. Instead, you will have to use a pure ASOC script without the participation of Preview and the clipboard. Some steps from 1-8 can be automated, but others will require GUI scripting, making the script useless for other versions of Preview.