Hello,
I was wondering if it was possible to combine conditions.
For example: If Condition 1 AND condition 2 are met, lock computer.
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Combining conditions
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: Combining conditions
Your question is too brief.
I can briefly answer: yes, it is possible.
I can suggest some specific solution, but I need more specific description of the task.
When should it be evaluated conditions? It will be started with an event?
You have two conditions. Is any change in conditions associated with an event?
Pako
I can briefly answer: yes, it is possible.
I can suggest some specific solution, but I need more specific description of the task.
When should it be evaluated conditions? It will be started with an event?
You have two conditions. Is any change in conditions associated with an event?
Pako
Re: Combining conditions
I have my phone set up to send an autoremote message to my pc when I leave home.
When this message arrives in eventghost AND the pc is idle, i would like eventgost to lock the pc.
I hope this information is sufficient
When this message arrives in eventghost AND the pc is idle, i would like eventgost to lock the pc.
I hope this information is sufficient
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: Combining conditions
1) How do I know that the PC is idle? Can we use the System.Idle and System.UnIdle events?zeroordie wrote:I have my phone set up to send an autoremote message to my pc when I leave home.
When this message arrives in eventghost AND the pc is idle, i would like eventgost to lock the pc
2) What format is an event that says "I left home?"
3) What if there is another case: you first leave home and then the PC is idle?
4) There is also an event "I went back home" ? What format does it have?
Note:
There are other options than just Autoremote and the like.
Look at the Nmap plugin.
You can use both options to enhance reliability.
Pako
-
eatmeimadanish
- Experienced User
- Posts: 118
- Joined: Thu Oct 01, 2009 5:11 pm
Re: Combining conditions
Just have the system idle and unidle trigger the enabling and disabling of a folder containing the macro. If you send an event to a macro in a disabled folder nothing happens. This is the easiest way I have found to accomplish what you are asking.