Sign in to follow this  
Followers 0
Angel

Check that a window is totally visible

3 posts in this topic

Hi,

I know that this is very easy to do, but I am in a hurry so I thought that I might just ask to see if someone did this in the past. I apologize in advance!

Has anyone ever done a script that checks if a window is completelly visible, that is, that it is totally inside the boundaries of the screen and that no other windows (including the windows taskbar) is obstructing it?

If someone has, could he/she please post the script in this forum?

Thanks!!!

Angel

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Well, I'm not really feeling like making the script myself, but if I would, I'd get myself an array of all visible windows first, then get the coordinates of those, and finally check to see whether any of them overlap another.

Btw, judging from your postcount, you must know by now that " This is not a general support forum!" just a mistake probably :D

Edit: must be getting tired, thought you were asking for help on how to make this...

Edited by marfdaman

Don't take my pic to serious...~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~You Looked, but you did not see!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Share this post


Link to post
Share on other sites

Edit: must be getting tired, thought you were asking for help on how to make this...

Yeah, I hoped that someone had already done this in the past and I was in quite a hurry to finish my script. That is why I asked in "Scripts and Scraps". It seems however that I might have more time than I thought to finish the script, so I guess I'll have to take time to do it myself! If I do I'll post the result here.

Angel

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0