AutoHotkey Community

It is currently May 26th, 2012, 10:48 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: September 18th, 2009, 12:22 am 
Offline

Joined: August 30th, 2009, 5:14 pm
Posts: 10
In my script, I want to suppress certain dialogs of my own (i.e., just not show them) when some program -- whether it's a media player, a game, or a web browser -- is in full screen mode. Is it possible to detect this in a general way? Note that the program is not necessarily in some exclusive Direct3D mode, but has only taken over the entire screen. (Just knowing whether the windows taskbar is visible would be helpful.)

thanks


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 18th, 2009, 7:45 am 
Online

Joined: April 8th, 2009, 7:49 pm
Posts: 6066
Location: San Diego, California
I hope this isn't too much to throw at you, all at one time.

I'm making the assumption that you can get the title of the window, or some other way to choose it from all the others open at the moment. :wink:

There is a (sub-command) withing WinGet that can give info on min/max status
MinMax: Retrieves the minimized/maximized state for a window.
http://www.autohotkey.com/docs/commands/WinGet.htm


Further suggested reading:

A_ScreenWidth & A_ScreenHeight
http://www.autohotkey.com/docs/Variables.htm#Screen

MonitorWorkArea --- exclude the area occupied by the taskbar http://www.autohotkey.com/docs/commands/SysGet.htm

position, width, title of a window
http://www.autohotkey.com/docs/commands/WinGetPos.htm


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 19th, 2009, 7:31 am 
Offline

Joined: August 30th, 2009, 5:14 pm
Posts: 10
thanks. the monitowrorkarea looks promising. I'll report back once I've had some time playing with it.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], JSLover, Maestr0, Miguel, rbrtryn and 57 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group