AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Full Screen Windows!!

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
compuboy_r



Joined: 04 May 2004
Posts: 68

PostPosted: Sat Oct 30, 2004 6:34 am    Post subject: Full Screen Windows!! Reply with quote

How do i detect the current displayed window is a Full Screen Window or not.


compuboy_r
_________________
Back to top
View user's profile Send private message
BoBo
Guest





PostPosted: Sat Oct 30, 2004 10:21 am    Post subject: Reply with quote

Quote:
WinGetActiveStats, MyCurrentWindowTitle, WindowWidth, WindowHeight, X, Y
If WindowHeight <> %A_ScreenHeight%
MsgBox, Ooops!
If WindowWidth <> %A_ScreenWidth%
MsgBox, Damn!


** AHK v1.0.22+

Untested. Rolling Eyes

Cool
Back to top
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10474

PostPosted: Sat Oct 30, 2004 11:34 am    Post subject: Reply with quote

On a related note, WinGet MinMax has recently been added, which reports whether a window is minimized or maximized. I'm not sure what it would say about a full screen window, but might prove useful for other things.
Back to top
View user's profile Send private message Send e-mail
BoBo
Guest





PostPosted: Sat Oct 30, 2004 12:01 pm    Post subject: Reply with quote

e.g. a DOS box by default has a standard max size, which isn't necessarily full screen, isn't it ? Just a reminder.

Thx for pointing to WinGet,Min/Max.
I wasn't aware of it.

Cool
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group