#1 2021-10-11 10:21

pstein
Member
Registered: 2006-10-28
Posts: 41

Event concatenation with NOT and with "currently running" ?

I want to trigger an action if

"user is inactive for x minutes" AND (process=blahblah" is currently NOT running")

The corresponding Shutter definition shows two problems:

1.) How to define a NOT condition in conjunction with boolean AND?

2.) I don't want to trigger a starting event but a check if a process is currently running

How can I define that?

Peter

Offline

#2 2021-10-11 10:41

den4b
Administrator
From: den4b.com
Registered: 2006-04-06
Posts: 3,367

Re: Event concatenation with NOT and with "currently running" ?

You can try something like that:

Logic: ALL

Events:
1) Process: Stops "process.exe", check every 5 seconds
2) User Inactive: Inactive for 0:10:00 using Last Input Event

Offline

#3 2021-10-17 09:32

pstein
Member
Registered: 2006-10-28
Posts: 41

Re: Event concatenation with NOT and with "currently running" ?

Ok, thank you. It seems to work.

However the GUI is somehow misleading.

The Event definition says:

"Trigger when ..... Stops"

which means: The process is running and the stopping.

What if user starts Shutter and the process is currently NOT running.
Then the process will NEVER stop and hence the Action never triggered.

I suggest to rename
Starts--->running
Stops--->not running

Fortunately this represents the current meaning. But it is confusing

Thank you

Offline

Board footer

Powered by FluxBB