AutoHotkey: Mark Important Files Permanently: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Added category AutoHotkey scripts) |
||
Line 27: | Line 27: | ||
{{translated|AutoHotkey: Wichtige Dateien dauerhaft markieren|AutoHotkey}} | {{translated|AutoHotkey: Wichtige Dateien dauerhaft markieren|AutoHotkey}} | ||
[[Category:AutoHotkey scripts|Mark Important Files Permanently]] |
Revision as of 18:55, 1 June 2008
Pressing Ctrl+Shift+Z marks/unmarks a file/folder by adding a string – defined in the variable Marker – to its comment (descript.ion file).
In order to colour these marked files and folders, have a look here:
Can_I_display_files_with_special_attributes,_directories_etc._in_a_different_color?
Switch to the Plugins tab and adjust the fields to look like that:
tc -> comment -> contains -> ***
Marker := "*** " #IfWinActive, ahk_class TTOTAL_CMD ^+z:: PostMessage, 1075, 2700 WinWaitActive, ahk_class TCmtEditForm, , 1 If Errorlevel Return ControlGetText, Comment, TMemo1 StringLeft, Check, Comment, 4 If Check <> %Marker% Comment := Marker Comment Else StringTrimLeft, Comment, Comment, 4 ControlSetText, TMemo1, %Comment% SendInput, {F2} Return
Back to AutoHotkey