Skip to content

Script Hangs in Windows 8.1 #3

@Wikilicious

Description

@Wikilicious

Thanks for the script.
I encountered an issue using it in Windows 8.1.
It works fine, however; the script hangs even after I wake my monitors again.
e.g.
SC_MONITORPOWER = 0xF170
win32gui.SendMessage(win32con.HWND_BROADCAST, win32con.WM_SYSCOMMAND, SC_MONITORPOWER, 2)
print 'All done'

The Python window stays open even after I wake my monitors i.e. it never reaches the print 'All done' statement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions