Can I Delay system suspend?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
joefiesta
Posts: 502
Joined: 24 Jan 2016, 13:54
Location: Pa., USA

Can I Delay system suspend?

31 Aug 2022, 10:19

I capture the system suspend event via

OnMessage(0x218, "WM_POWERBROADCAST")
and
running WM_POWERBROADCAST(wParam, lParam)

And, of course, when wParam is 4, the system is about to suspend.

I can do a few QUICK things before the actual suspension occurs. But, I want to do more--like shut down Firefox, which is not so quick.

Can anyone tell me how to delay the suspend that has (presumably) already started?

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: dra3th, Mateusz53, Rohwedder, Spawnova and 272 guests