You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have used LLT since 2022 and have found it helpful. It is getting (and looking) very good!
Is there a way to set up an Action that starts on Windows unlock? There are 2 triggers that seem similar. "On resume" triggers when Windows wakes after sleep. "When user becomes active" triggers when it senses activity after inactivity (the duration of which is selectable).
One utility I use often stops working without crashing. I haven't figured out exactly what precedes this. Terminating the process and restarting it on unlock seems to work in all cases. Doing this on waking misses some cases, while after every minute or two of inactivity is not ideal because of the time it takes to restart it.
A possible solution would be combine SystemEvents.SessionSwitch and WTS API WTSQuerySessionInformation(). We can get session flag every time when SessionSwitch event is triggered, and raise events inside LLT.
What alternatives have you considered?
Using WTSRegisterSessionNotification() instead of C# system events would be more reliable, but I need to take a look if it is necessary.
Additional information
No response
The text was updated successfully, but these errors were encountered:
Version
2.25.0
OS
Windows 11 24H2
Device
Lenovo Legion 5 17ACH6 82K0
Is your feature request related to a problem?
Discussed in #1573.
Hello!
I have used LLT since 2022 and have found it helpful. It is getting (and looking) very good!
Is there a way to set up an Action that starts on Windows unlock? There are 2 triggers that seem similar. "On resume" triggers when Windows wakes after sleep. "When user becomes active" triggers when it senses activity after inactivity (the duration of which is selectable).
One utility I use often stops working without crashing. I haven't figured out exactly what precedes this. Terminating the process and restarting it on unlock seems to work in all cases. Doing this on waking misses some cases, while after every minute or two of inactivity is not ideal because of the time it takes to restart it.
Lenovo Legion 5 17ACH6 82K0, Windows 11 24H2, Lenovo Legion Toolkit 2.25.0
Originally posted by @bsfreely in #1573
How would you like the problem to be solved?
A possible solution would be combine
SystemEvents.SessionSwitch
and WTS APIWTSQuerySessionInformation()
. We can get session flag every time whenSessionSwitch
event is triggered, and raise events inside LLT.What alternatives have you considered?
Using
WTSRegisterSessionNotification()
instead of C# system events would be more reliable, but I need to take a look if it is necessary.Additional information
No response
The text was updated successfully, but these errors were encountered: