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.

WindowState? If fullscreen do A. If not do B.

If you have a question or need help, this is the place to be.
User avatar
FCB38
Experienced User
Posts: 50
Joined: Mon Nov 28, 2011 10:28 am

Re: WindowState? If fullscreen do A. If not do B.

Post by FCB38 »

Hello,

I've an issue. When no window is open, just the desktop, it doesn't work.
If there is a little window : then it's working. When I have tested few days ago, there was a open window ==> it was working.

What can I do?

Thank you.
User avatar
FCB38
Experienced User
Posts: 50
Joined: Mon Nov 28, 2011 10:28 am

Re: WindowState? If fullscreen do A. If not do B.

Post by FCB38 »

Hello,

I have an issue with the script. Sometime it's working sometime not.
The script is OK until I click on the wall paper. If I click on the task bar, or a window the script works again.

Can you help me? Please...
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: WindowState? If fullscreen do A. If not do B.

Post by Pako »

FCB38 wrote:I've an issue. When no window is open, just the desktop, it doesn't work.
If there is a little window : then it's working. When I have tested few days ago, there was a open window ==> it was working.
What can I do?
It is possible, but I have a problem.
I do not know how I have to create this situation in my computer. I tried, but in vain.
What happens when it does not work?
You can attach any logos or pictures?

Pako
User avatar
FCB38
Experienced User
Posts: 50
Joined: Mon Nov 28, 2011 10:28 am

Re: WindowState? If fullscreen do A. If not do B.

Post by FCB38 »

Hello,

When I minimize XBMC by pressing a key on my remote it's working. The script see that I'm in FullScreen then it jump to minimize function. No problem.
XBMC is minimized, I can work on my computer (FireFox, MS Word, anyway...). When I finish my work and I want XBMC on FullScreen, I click on the same button of my remote. The problem is here:
  • If I click on the wall paper just before the remote, the script say that I'm on FullScreen mode; then I jump to Minimize function. It's not OK.
  • If I don't click on the wall paper just before the remote, the script say there is no FullScreen mode; then I jump to Maximize function. It's OK.
Here is a little piece of my EventGhost program:
Image

What can I do? Is there a problem in my EG program?

Thank you for your help!
User avatar
FCB38
Experienced User
Posts: 50
Joined: Mon Nov 28, 2011 10:28 am

Re: WindowState? If fullscreen do A. If not do B.

Post by FCB38 »

Just to add this : when XBMC is "highligted" in task bar the "Maximize" function is working. You can find 2 pictures; XBMC highligted and not:

Image Image
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: WindowState? If fullscreen do A. If not do B.

Post by Pako »

You've probably overlooked what I wrote:
Pako wrote:It is possible to reformulate the task as follows ?
If some window of some program is just full screen and is on top, do A, otherwise do B.
If so, then it would probably be possible to find universal solutions.
As we can see, so in your case the condition is not met.
So again I must repeat what I wrote earlier:
Pako wrote:I know, why you got no answer.
On your question nobody knows the answer. There is no universal way.
You must know the name and/or class name of full-screen window.
Each application has it differently.
I know it only for Media Player Classic. I do not use other programs.

Pako
User avatar
FCB38
Experienced User
Posts: 50
Joined: Mon Nov 28, 2011 10:28 am

Re: WindowState? If fullscreen do A. If not do B.

Post by FCB38 »

You must know the name and/or class name of full-screen window.
Where can I find the name and/or the class name of XBMC?
And when I find this where I write it in the script?

Thank you.
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: WindowState? If fullscreen do A. If not do B.

Post by Pako »

FCB38 wrote:
You must know the name and/or class name of full-screen window.
Where can I find the name and/or the class name of XBMC?
And when I find this where I write it in the script?
Ask for it in topic Support for XBMC2 plugin (formerly XBMCRepeat).
It is possible that jonib to add this feature to his plugin.

Pako
User avatar
FCB38
Experienced User
Posts: 50
Joined: Mon Nov 28, 2011 10:28 am

Re: WindowState? If fullscreen do A. If not do B.

Post by FCB38 »

Hello,

As you suggest I go to the topic "Support for XBMC2 plugin" : viewtopic.php?f=9&t=1562.
I explain to Jonib and he give me a solution. And it's working!!! Thank you Pako, thank you Jonib.

For me the item is closed.
Post Reply