Jump to content

Custom ShellIconOverlayIdentifiers


queensoft
 Share

Recommended Posts

I need to display custom overlays for specific files. NOT file types.

Example: folder with 100 JPG files.

Choose files based on file name, choose how many file you want:

- 5 files - display green checkmark overlay

- 10 files - display red X

- the other files - display default icon, no overlay

Of course, overlay should be dynamic, change icon (checkmark, X) and change files whenever I want. Right click on a file is the method to change overlay, this is not a problem.

I can create icons, I can add the right click menus, I just need to add registry settings and figure out how to display the overlays on certain files.

I do not have any AutoIt code right now, I just found these helpful pages/info:

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers

This is the registry key where settings are saved. I know there's a maximum of 15, this is not a problem.

IShellIconOverlayIdentifier interface

This is the main option to use: https://msdn.microsoft.com/en-us/library/windows/desktop/bb761265(v=vs.85).aspx

IsMemberOf

I think this identifies the files to display certain overlay: https://msdn.microsoft.com/en-us/library/windows/desktop/bb761267(v=vs.85).aspx

How do I put this all together using AutoIt ?

Edited by queensoft
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...