Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python icon on task bar

import ctypes

aumid = u'CompanyName.ProductName.SubProduct.VersionInformation' # must be unicode
# See https://docs.microsoft.com/en-us/windows/win32/shell/appids for information
# And see https://stackoverflow.com/a/1552105/14586140 for why this works
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(aumid)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #icon #task #bar
ADD COMMENT
Topic
Name
5+6 =