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.

Event on Eventghost Shutting Down

If you have a question or need help, this is the place to be.
Post Reply
blaher
Experienced User
Posts: 487
Joined: Thu Nov 17, 2011 1:27 am

Event on Eventghost Shutting Down

Post by blaher »

Can anyone tell me the event that's generated when Eventghost shuts down, please?

Also, what is the event when windows is shut down? Thanks!
blaher
Experienced User
Posts: 487
Joined: Thu Nov 17, 2011 1:27 am

Re: Event on Eventghost Shutting Down

Post by blaher »

It's been a while. Does this mean there isn't one?
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Event on Eventghost Shutting Down

Post by krambriw »

Hello Blaher,
Sorry for late response to your questions. I think a good way to capture those events that *you have no chance to see* is to use Pako's nice Log redirector plugin.
I checked my log file and found:
when Eventghost shuts down
2013-05-01 17:28:55 EVENT: Main.OnClose

To see what event you get when Windows is shutting down, you can try to activate the plugin with short update interval and hope that you catch it.

Best, Walter
blaher
Experienced User
Posts: 487
Joined: Thu Nov 17, 2011 1:27 am

Re: Event on Eventghost Shutting Down

Post by blaher »

krambriw wrote:Hello Blaher,
Sorry for late response to your questions. I think a good way to capture those events that *you have no chance to see* is to use Pako's nice Log redirector plugin.
Thanks, Walter. I'll give it a go.

Edit: That works well, thanks. I don't think there's separate events for rebooting, shutting down, but Main.OnClose is generated for both. Cheers. :)
Flyingsubs
Experienced User
Posts: 127
Joined: Sat Dec 29, 2012 11:26 pm

Re: Event on Eventghost Shutting Down

Post by Flyingsubs »

Do you happen to know the log name for when the computer goes to sleep? I also can't seem to find Pako's Plugin on eventghost.

Thanks,
Flyingsubs
blaher
Experienced User
Posts: 487
Joined: Thu Nov 17, 2011 1:27 am

Re: Event on Eventghost Shutting Down

Post by blaher »

viewtopic.php?f=9&t=2852 is Pako's plugin.

System.Suspend is the event on sleep.
System.Resume is the event on waking it up.
Flyingsubs
Experienced User
Posts: 127
Joined: Sat Dec 29, 2012 11:26 pm

Re: Event on Eventghost Shutting Down

Post by Flyingsubs »

Thank you!
Post Reply