Skip to content
This repository was archived by the owner on Jul 24, 2025. It is now read-only.

Session lock unlock Automation Pipeline#1658

Merged
BartoszCichecki merged 2 commits intoBartoszCichecki:masterfrom
Ace-Radom:feat/windows_lock_unlock_action_trigger
Jun 2, 2025
Merged

Session lock unlock Automation Pipeline#1658
BartoszCichecki merged 2 commits intoBartoszCichecki:masterfrom
Ace-Radom:feat/windows_lock_unlock_action_trigger

Conversation

@Ace-Radom
Copy link
Contributor

Closes: #1655.
Related: #1573.

Add SessionLockUnlockListener, SessionLockAutomationPipeline & SessionUnlockAutomationPipeline.

The listener is impled with SystemEvents.SessionSwitch event. When the reason is whether Lock or Unlock the listener checks session flags. And also as said, there's also another way using WTSRegisterSessionNotification() which should be more reliable. If you think this feature should be done in such way I can surely also do that.

@BartoszCichecki BartoszCichecki merged commit 8817812 into BartoszCichecki:master Jun 2, 2025
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Trigger Action on Windows unlock

2 participants