Discussion:
[python-win32] How do I change the executable/process name to un-group taskbar icons?
Nathan McCorkle
2014-09-16 01:17:34 UTC
Permalink
I've been writing GUIs with wxPython for a while now, and am trying to
figure out now how to get each program not to group into a generic
'pythonw' taskbar icon.

I found this API, but it doesn't work on my version of Windows XP:
SetCurrentProcessExplicitAppUserModelID

Is there some other method to change things?

Thanks!
-Nathan
Werner
2014-09-16 06:18:22 UTC
Permalink
Hi Nathan,
Post by Nathan McCorkle
I've been writing GUIs with wxPython for a while now, and am trying to
figure out now how to get each program not to group into a generic
'pythonw' taskbar icon.
SetCurrentProcessExplicitAppUserModelID
Is there some other method to change things?
Hhm, not sure but I think using wx.App.SetAppName should do that.

Werner
Nathan McCorkle
2014-09-16 16:07:35 UTC
Permalink
Post by Werner
Post by Nathan McCorkle
SetCurrentProcessExplicitAppUserModelID
Is there some other method to change things?
Hhm, not sure but I think using wx.App.SetAppName should do that.
Didn't help :( My GUI is still grouped with all the other pythonw
processes I've got open.
Nathan McCorkle
2014-09-17 17:48:52 UTC
Permalink
See here for an update and some code that uses the pywin32 stuff to
mess around with TaskManager (I think... I adapted the code from some
Visual Basic code I found online):
https://groups.google.com/d/msg/wxpython-users/2BXSDFvWdAk/RE32KQPDb8MJ
--
-Nathan
Loading...