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.

Redirect Show Picture Start Program to a user session

If you have a question or need help, this is the place to be.
Post Reply
johnnyalexander
Posts: 2
Joined: Sun Mar 29, 2009 9:57 pm

Redirect Show Picture Start Program to a user session

Post by johnnyalexander »

EG 0.3.7.r851
WinXP Pro SP2

First I first want to thank the authors for a wonderful program.

I'm using the term service hack to allow concurrent sessions.

What I want to do is when a user logs into the second session to see a welcome screen (using show picture), load the main application in the background and then close the welcome screen, leaving the fully loaded program visible.

It works great on the console but the macro, which is looking for a session.connect event and correctly takes action, only opens the welcome screen and program on the console. Any way to direct these actions toward a user session?

Thanks!
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: Redirect Show Picture Start Program to a user session

Post by Bitmonster »

EG only runs in one session per computer. This is by design, as some hardware plugins simply won't work or crash the system if loaded more then once. I guess your problem is related to this and EG is actually already running in another session if you log in your user session. Showing/controlling visible objects from another session is not possible, so EG has to run in the session you want to control something. There is an undocumented and experimental command line switch "-multiload", that allows you to load EG more than once. You can try this if it helps, but keep in mind, that things can go badly wrong if EG is running more than once. For example injecting events with the "-e" switch might go to the wrong instance.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
TomXP411
Posts: 25
Joined: Thu Oct 30, 2008 4:13 pm

Re: Redirect Show Picture Start Program to a user session

Post by TomXP411 »

johnnyalexander wrote:EG 0.3.7.r851
WinXP Pro SP2
...
I'm using the term service hack to allow concurrent sessions.
I could use that... what's the trick?
johnnyalexander
Posts: 2
Joined: Sun Mar 29, 2009 9:57 pm

Re: Redirect Show Picture Start Program to a user session

Post by johnnyalexander »

Bitmonster wrote:EG only runs in one session per computer. This is by design, as some hardware plugins simply won't work or crash the system if loaded more then once. I guess your problem is related to this and EG is actually already running in another session if you log in your user session. Showing/controlling visible objects from another session is not possible, so EG has to run in the session you want to control something. There is an undocumented and experimental command line switch "-multiload", that allows you to load EG more than once. You can try this if it helps, but keep in mind, that things can go badly wrong if EG is running more than once. For example injecting events with the "-e" switch might go to the wrong instance.
Thanks for the information. Is the experimental command line switch available in the version I have and would you use it in loading both instances?
TomXP411 wrote:

I could use that... what's the trick?
It was the beta XP SP2 termserv.dll that allowed up to 3 concurrent sessions. http://sig9.com/articles/concurrent-remote-desktop
Post Reply