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.

Changing focused application

If you have a question or need help, this is the place to be.
kricker
Experienced User
Posts: 147
Joined: Thu Oct 12, 2006 5:49 am
Contact:

Post by kricker »

aarb00 wrote:Here is my AutoHotKey script in case someone needs it for reference.

Loop

{
WinWaitActive, Beyond TV
WinWaitClose, Beyond TV
Run, "C:\Program Files\EventGhost\EventGhost.exe" -e QuitBeyondTV
WinActivate, Meedio
}

There maybe better ways of doing this, but it does work.

Now I can use the Main.QuitBeyondTV() event to activate my Meedio exclusive.

The only downside to this process is that the script is always running and takes up a few K of RAM. This program however uses 50 MB less RAM than the Firefly software so I come out ahead.

If anyone has a better idea to detect Beyond TV closing, or Meedio becoming activated please let me know.

Thank you.
Does BTV have the "do not show in taskbar option?"
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Post by Bitmonster »

I just uploaded 0.3.6.945 with a different Task plug-in. It might be a bit half-baked but should give more "activated" events than before.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
kricker
Experienced User
Posts: 147
Joined: Thu Oct 12, 2006 5:49 am
Contact:

Post by kricker »

Bitmonster wrote:I just uploaded 0.3.6.945 with a different Task plug-in. It might be a bit half-baked but should give more "activated" events than before.
I'll try it out later and see how it works with Zoomplayer set to only show in tray.
kricker
Experienced User
Posts: 147
Joined: Thu Oct 12, 2006 5:49 am
Contact:

Post by kricker »

I was getting errors about python25.dll not being found. Once I copied that into the system32 directory things are looking better. I am testing the focus issues now.

EDIT
Focus issues seem to be worked out. I can even use EventGhost without explorer running now :)
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Post by Bitmonster »

kricker wrote:I was getting errors about python25.dll not being found. Once I copied that into the system32 directory things are looking better. I am testing the focus issues now.

EDIT
Focus issues seem to be worked out. I can even use EventGhost without explorer running now :)
It's no good idea to copy python25.dll to the system32 dir. It should live in the EventGhost dir.

I just uploaded a new full setup.exe.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
kricker
Experienced User
Posts: 147
Joined: Thu Oct 12, 2006 5:49 am
Contact:

Post by kricker »

Bitmonster wrote:
kricker wrote:I was getting errors about python25.dll not being found. Once I copied that into the system32 directory things are looking better. I am testing the focus issues now.

EDIT
Focus issues seem to be worked out. I can even use EventGhost without explorer running now :)
It's no good idea to copy python25.dll to the system32 dir. It should live in the EventGhost dir.

I just uploaded a new full setup.exe.
I tired the new version, and I am still getting the python25.dll error.
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Post by Bitmonster »

That's odd. Does there reside a python25.dll in the EventGhost folder?
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
kricker
Experienced User
Posts: 147
Joined: Thu Oct 12, 2006 5:49 am
Contact:

Post by kricker »

Bitmonster wrote:That's odd. Does there reside a python25.dll in the EventGhost folder?
Yes. I even uninstalled the old version before installing the new one. Once again it works if I copy the included .dll to the system32 directory.
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Post by Bitmonster »

That's very strange. Possibly any user restrictions kicking in?
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
kricker
Experienced User
Posts: 147
Joined: Thu Oct 12, 2006 5:49 am
Contact:

Post by kricker »

Bitmonster wrote:That's very strange. Possibly any user restrictions kicking in?
Nope. I run as administrator. Same setup I have been using for a few years now. The older version (EventGhost_0.3.4_build_851_Setup.exe) of EvenGhost works fine.
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Post by Bitmonster »

Hmm, I just tried it with a clean virtual machine. No problems so far. I'm a bit out of ideas what is causing this error on your setup.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
kricker
Experienced User
Posts: 147
Joined: Thu Oct 12, 2006 5:49 am
Contact:

Post by kricker »

Bitmonster wrote:Hmm, I just tried it with a clean virtual machine. No problems so far. I'm a bit out of ideas what is causing this error on your setup.
Hmm I don't know. As soon as I launch an App (eg. Zoom Player) that has a mode associated with it in EvenGhost, I get the error. One of my Autostart items is a python script for mouse control speed, if that has any bearing on it.
Last edited by kricker on Thu Apr 19, 2007 7:40 pm, edited 1 time in total.
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Post by Bitmonster »

kricker wrote:Hmm I don't know. As soon as I launch an App (eg. Zoom Player) that has a mode associated with it in EvenGhost, I get the error.
I haven't got this. What do you mean with "a mode associated with it"? Does EG start up normal and the error only shows up on a context switch or something?
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Post by Bitmonster »

Ah, ok, I can reproduce this error...
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
kricker
Experienced User
Posts: 147
Joined: Thu Oct 12, 2006 5:49 am
Contact:

Post by kricker »

Bitmonster wrote:
kricker wrote:Hmm I don't know. As soon as I launch an App (eg. Zoom Player) that has a mode associated with it in EvenGhost, I get the error.
I haven't got this. What do you mean with "a mode associated with it"? Does EG start up normal and the error only shows up on a context switch or something?
Yes, EventGhost start fine. But as soon as I start Zoom Player for example. I get the python25.dll error. I have a

Code: Select all

Switch to mode: Zoom Player
  Task.Activated.zplayer
  Enable exclusive: Zoom Player
That is what I am referring to as a mode.
Post Reply