Anyone know how to programatically assigna file type icon on windows?
Luna Tuna <[email protected]>
| Newsgroups | gmane.comp.python.pyqt-pykde |
|---|---|
| Message-ID | <CABhCPet6HExy3G3YstWrbqGThe9woPxttvcJG2EpN2+f25bUkA@mail.gmail.com> |
I followed the canonical instructions here: https://docs.microsoft.com/en-us/windows/desktop/shell/how-to-assign-a-custom-icon-to-a-file-type I manually edited the registry to achieve this: [image: image.png] And I called this in my app's main function: from win32com.shell import shell, shellconshell.SHChangeNotify(shellcon.SHCNE_ASSOCCHANGED, shellcon.SHCNF_IDLIST, None, None) Did nothing! Thanks. _______________________________________________ PyQt mailing list [email protected] https://www.riverbankcomputing.com/mailman/listinfo/pyqt
image.png
(image/png, 276.1 KB) - not displayed