IF YOU ARE INTERESTED IN FOLDER COLORING/MARKING, GO TO THIS THREAD:
Setting Colored Folder Icons in x2 (User Command Friendly)
Kilmatead developed a free fully-featured utility that integrates perfectly with xplorer2.
What comes next is obsolete.
#############################################
Youtube: Folder Colors in Xplorer2[720p]
NOTE: this video isn't about Kilmatead's folder coloring application, it shows how an early poor script of mine works. If I'll make a video about Kilmatead's application, I'll post it at the top.


I did request this for v2, but I can't wait until v2's out and there's no guarantee that this will ever be implemented. I'm using ShellToysXP to color folders the way I want, and I do that a lot (gives them more meaning at a quick glance), I do it so often that I got tired of right-clicking a folder and then selecting the desired color from a sub menu.
Another disadvantage of using the contextual menu (for the ShellToysXP entry) to color a folder is that it reinitializes all drives (in my case it wakes up 4 external drives, and I don't want that every time I color a folder).
For those of you interested to color your folders, here's a macro scheduler script I prepared yesterday:
Code: Select all
//Constants.
Let>const_iconhue=60
//Set System variables.
Let>RP_WINDOWMODE=0
Let>RP_WAIT=1
//Clear clipboard.
PutClipBoard>0
//Copy folder path to clipboard.
Press LALT
Send>c
Release ALT
Wait>0.2
//Save clipboard path to variable.
GetClipBoard>folderpath
WaitClipBoard
IfDirExists>folderpath
//Delete existing icon.
RunProgram>cmd /c del "%folderpath%\d_cfiicon_*.ico" /f
RunProgram>cmd /c del "%folderpath%\d_cfiicon_*.ico" /f /a:s
//Copy icon file to destination folder.
RunProgram>cmd /c echo f| xcopy "C:\Users\mihais13\AppData\Roaming\CFi ShellToys\FolderColor\%const_iconhue%.ico" "%folderpath%\d_cfiicon_%const_iconhue%.ico" /c /f /h /i /q /k /r /y
RunProgram>cmd /c attrib -A +H +S "%folderpath%\d_cfiicon_%const_iconhue%.ico"
IfFileExists>%folderpath%\desktop.ini
EditIniFile>%folderpath%\desktop.ini,.ShellClassInfo,IconResource,d_cfiicon_%const_iconhue%.ico
ELSE
//Create desktop.ini
WriteLn>%folderpath%\desktop.ini,nWLNRes,[.ShellClassInfo]
WriteLn>%folderpath%\desktop.ini,nWLNRes,IconResource=d_cfiicon_%const_iconhue%.ico
RunProgram>cmd /c attrib -A +H +S "%folderpath%\desktop.ini"
ENDIF
//Set the attributes.
RunProgram>cmd /c attrib +R "%folderpath%"
ELSE
MessageModal>Please highlight a folder then run the script again.
ENDIF
Exit>0
To make this work you need the following:
1. Icons for coloring your folders. You can get them from here;
2. Change this path "C:\Users\mihais13\AppData\Roaming\CFi ShellToys\FolderColor" to the path where you have extracted the icon files;
3.Change the value 60 (from this line: Let>const_iconhue=60) to the corresponding value of the color you wish to assign to your folder (check the .ico files for the correct values);
4. And of course you either need Macro Scheduler installed or this script compiled.
Then you can run the script as an user command (e.g. > C:\Users\mihais13\DOCUME~1\MACROS~1\FOLDER~1.SCP)
I don't want to provide by default any compiled script (never trust users on the Internet : D ), but if you really want this and you have no way of compiling it you can tell me and I'll upload a compiled version of it and PM it to you (don't forget to tell me the path to the icon files folder).
Maybe some of you don't even need Macro Scheduler and prefer to write your own scripts, that's OK, I hope the provided script will save you some time (they're mostly DOS commands).
Here's a video I recorded for you to see how this looks in xplorer2. It's in HD so watch it FullScreen!
Youtube: Folder Colors in Xplorer2[720p]