Hi,
I wonder if anyone is getting the same thing as me, I believe it concerns the keyboard plugin. I could'nt find the exact circomstences but I gotta a clue tu reproduce it:
What happened is when I watch a video from youtube (or some other video streaming websites) in fullscreen, sometimes the Keyboard.Space event is triggered and stuck ON! Then every keyboard keypress that follows is added the space key:
IE: If I press Win+Alt+R keys combination, EG gets if fact Win+Alt+Space+R; so all of my keyboard trigged events dosen't work anymore; I have tu press the spacebar in order to turn it off.
Has anyone a clue, or a solution for this yet?
Thank you
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.
Keyboard.Space vs Youtube Fullscreen problem
Re: Keyboard.Space vs Youtube Fullscreen problem
Hi IceGothic
I have the same problem - I've been getting it with YouTube XL (http://www.youtube.com/xl) Full Screen which I assume is the same as normal YouTube Full Ccreen and assumed it was just me til I saw this post.
When it happens, when I press e.g. the Enter key, instead of getting just the Keyboard.Return event that I normally get, I'm getting a Keyboard.Return+Space event followed immediately by a Keyboard.Space event. And like you, the lack of a Keyboard.Return event means my macros are no longer triggered.
I found that shutting down and restarting eventghost cures the problem. I also noticed that if I ignore the stuck spacebar key and persevere, it gets worse with other keys getting "stuck down" like the Alt key.
Unfortunately , whilst I can corroborate the problem, I have no solutions to offer.
Steve
Running Eventghost 0.3.7.r1016 on Windows XP SP3
I have the same problem - I've been getting it with YouTube XL (http://www.youtube.com/xl) Full Screen which I assume is the same as normal YouTube Full Ccreen and assumed it was just me til I saw this post.
When it happens, when I press e.g. the Enter key, instead of getting just the Keyboard.Return event that I normally get, I'm getting a Keyboard.Return+Space event followed immediately by a Keyboard.Space event. And like you, the lack of a Keyboard.Return event means my macros are no longer triggered.
I found that shutting down and restarting eventghost cures the problem. I also noticed that if I ignore the stuck spacebar key and persevere, it gets worse with other keys getting "stuck down" like the Alt key.
Unfortunately , whilst I can corroborate the problem, I have no solutions to offer.
Steve
Running Eventghost 0.3.7.r1016 on Windows XP SP3
Re: Keyboard.Space vs Youtube Fullscreen problem
To save the effort of continuously shutting down and restarting eventghost to clear the "stuck spacebar", I tried pressing the space key instead. It fixes the problem for me - either from the keyboard, or from my IR remote (which has the pause key mapped to a space that's also read by eventghost using the Keyboard plugin as Keyboard.Space).
Steve
Steve
Re: Keyboard.Space vs Youtube Fullscreen problem
Is'nt there a way to catch when an ie.FullScreenOff event is triggered? this way EG sound triggers a Keyboard.Space event and that would fix the issue until next EG release.
Re: Keyboard.Space vs Youtube Fullscreen problem
Was just thinking the same thing. I can't find an event like that to trap. I'm using Firefox and the only event is a Task.ClosedWindow.firefox event which is unfortunately not uniquely associated with YouTube's FullScreen mode but ...
I think I have found a way to detect that I'm running Adobe Flash Player, and that I got there from Youtube. And since the only way out of FullScreen mode is to press Escape, I see two options: if the method by which escape is sent can be trapped (e.g. Keyboad.Escape event) then we can send Space, OR if the Escape is itself sent by a macro in eventghost, then we can send Escape, Space instead.
I think I have found a way to detect that I'm running Adobe Flash Player, and that I got there from Youtube. And since the only way out of FullScreen mode is to press Escape, I see two options: if the method by which escape is sent can be trapped (e.g. Keyboad.Escape event) then we can send Space, OR if the Escape is itself sent by a macro in eventghost, then we can send Escape, Space instead.
Re: Keyboard.Space vs Youtube Fullscreen problem
Great idea! 
But how do you know when Adobe Flash Player is running, and that it came from Youtube ?
But how do you know when Adobe Flash Player is running, and that it came from Youtube ?
Re: Keyboard.Space vs Youtube Fullscreen problem
I know the current context normally from the Task.Activated events .. and set a variable e.g. CurrentContext="firefox" whenever that happens.
Whenever the context changes to Firefox, I further check the Window Title of the foreground window to see if it starts "YouTube XL -" and if so, I set CurrentContext="YouTube" instead of CurrentContext="firefox".
Then, whenever I see a Task.NewWindow.firefox event I check my context CurrentContext=="YouTube" and if it is, I then check to see if the title of the newly created foreground window is "Adobe Flash Player" (YouTube's full screen player "window") then I presume (I accept that may not be 100% reliable) that the only way to create an "Adobe Flash Player" window from YouTube is to go fullscreen and set the CurrentContext="YouTubeFull" accordingly.
In addition to watching for a Keyboard.Escape event while I'm in that context, I think I can also watch for the Task.ClosedWindow.firefox while CurrentContext=="YouTubeFull". The only thing I can't be sure of is what the space will do if I send it to the foreground window that remains after the FullScreen mode exits. It may be safer, if it works, to trap the Keyboard.Escape and send the Space to the fullscreen window before closing it.
Steve
Whenever the context changes to Firefox, I further check the Window Title of the foreground window to see if it starts "YouTube XL -" and if so, I set CurrentContext="YouTube" instead of CurrentContext="firefox".
Then, whenever I see a Task.NewWindow.firefox event I check my context CurrentContext=="YouTube" and if it is, I then check to see if the title of the newly created foreground window is "Adobe Flash Player" (YouTube's full screen player "window") then I presume (I accept that may not be 100% reliable) that the only way to create an "Adobe Flash Player" window from YouTube is to go fullscreen and set the CurrentContext="YouTubeFull" accordingly.
In addition to watching for a Keyboard.Escape event while I'm in that context, I think I can also watch for the Task.ClosedWindow.firefox while CurrentContext=="YouTubeFull". The only thing I can't be sure of is what the space will do if I send it to the foreground window that remains after the FullScreen mode exits. It may be safer, if it works, to trap the Keyboard.Escape and send the Space to the fullscreen window before closing it.
Steve
Re: Keyboard.Space vs Youtube Fullscreen problem
Would you have a sample xml nearby?
Re: Keyboard.Space vs Youtube Fullscreen problem
There you go (I deleted the context macros themselves, but I think all the logic you need is in the attached XML ).
Steve
Steve