Windows update stops issuing PBT_APMSUSPEND

Get help with using AutoHotkey and its commands and hotkeys
User avatar
Relayer
Posts: 138
Joined: 30 Sep 2013, 13:09
Location: Delaware, USA

Windows update stops issuing PBT_APMSUSPEND

10 Sep 2018, 07:52

Hi,

Anyone else notice that the recent Windows 10 update has stopped issuing a PBT_APMSUSPEND message when the machine is going into sleep mode? I use OnMessage(0x218, "WM_POWERBROADCAST") to capture power event messages to maintain an hour meter on the machine.

An alternative would be to make a hotkey that responds to the "fn F1" key combo. Anyone know how to capture the computer's function key? I think this is a lower level function of a specific computer and may not be universal. Would I use a keycode or something?

Relayer

Return to “Ask For Help”

Who is online

Users browsing this forum: AHKStudent, boiler, Saarthak Kamra, zKade and 32 guests