What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » How to detect fullscreen application?

How to detect fullscreen application?
Author: Message:
V@no
Full Member
***

Avatar
sexy

Posts: 162
Joined: Mar 2004
O.P. RE: RE: How to detect fullscreen application?
Thank you.
The code some-what working, but not with every fullscreen applications. For example in some cases it still fails recognize WMP (Windows Media Player) or firefox (via F11 key), but it works fine on PotP...

P.S.
In code from the original topic seems to be bad logic when checking if window is maximized. Instead of
js code:
if(!Interop.Call('user32', 'IsWindowVisible', hWnd) || Interop.Call('user32', 'IsIconic', hWnd) || !Interop.Call('user32', 'IsZoomed', hWnd))

it should be:
js code:
if(!Interop.Call('user32', 'IsWindowVisible', hWnd) || Interop.Call('user32', 'IsIconic', hWnd) || Interop.Call('user32', 'IsZoomed', hWnd))

11-28-2010 08:18 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
How to detect fullscreen application? - by V@no on 11-28-2010 at 05:25 PM
RE: How to detect fullscreen application? - by Matti on 11-28-2010 at 06:13 PM
RE: RE: How to detect fullscreen application? - by V@no on 11-28-2010 at 08:18 PM
RE: How to detect fullscreen application? - by Matti on 11-28-2010 at 08:52 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On