[python-win32] Setting Focus Assist Mode via COM

name zero namezero911 at yahoo.com
Mon May 29 09:01:54 EDT 2023


Hi,
could someone help me out with first steps for how to set Focus Assist via COM, which https://gist.github.com/riverar/085d98ffb1343e92225a10817109b2e3 demonstrates for a C++ code base? Something like
win32com.client.Dispatch('{6bff4732-81ec-4ffb-ae67-b6c1bc29631f}', clsctx=pythoncom.CLSCTX_LOCAL_SERVER)
fails with "pywintypes.com_error: (-2147221164, 'Class not registered', None, None)"
Thank you and best regards!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/python-win32/attachments/20230529/ae0312db/attachment.html>


More information about the python-win32 mailing list