Is there and "On Idle" trigger

I would like to launch a certain app if i haven't touched the keyboard or mouse for X amount of seconds.

Also close the same app if i then move mouse or type.

Is this possible?

1 Like

There is currently no such trigger, but I'll add it to my TODO list. BTT already monitors the idle state to perform some internal clean up when the machine is idle, so it should be easy to add.

Perfect Answer! Thank you.

Any progress on this? I'm also interested in using an "On Idle" trigger

Hi Andreas! When can we expect an Idle Trigger? I'm sure your TODO list is quite large!

Another here interested in an "idle" trigger @Andreas_Hegenberg :slight_smile:

While there still is no idle trigger, you can now easily create one yourself with 4.694

There is a new variable that can be queried "BTTIdleTime"

You can use this with the "Trigger On Script Output Change" to create your own idle trigger:

let idleTime = await get_number_variable("BTTIdleTime");
if (idleTime > 10) {
return true;
}  else {
return false;
}

1 Like