Skip to content

Conversation

@osmanonurkoc
Copy link
Contributor

This mod redirects the classic Windows shutdown, logoff, and disconnect dialogs to a custom executable. It is essential for users of Rectify11 Modern Shutdown.

The Problem with Rectify11 / Modern Shutdown

When you trigger the shutdown dialog using Alt+F4, the new modern dialog often launches and immediately closes itself. This happens because the custom application detects that you are still holding Alt+F4 (which is the command to close a window) and closes itself instantly.

The Solution (Safe Launch)

This mod includes a Key Wait mechanism. When you press Alt+F4:

  1. The mod intercepts the command.
  2. It actively waits until you release the Alt and F4 keys.
  3. Only after the keys are released, it launches the custom shutdown dialog.
  4. It also sets the correct working directory to prevent missing icons/resources.

his mod includes a **Key Wait** mechanism. When you press `Alt+F4`.

It actively **waits** until you release the `Alt` and `F4` keys.
@m417z
Copy link
Member

m417z commented Jan 27, 2026

@aubymori What do you think about adding it (perhaps as an option) to your mod instead of creating a new, similar mod.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants