DVDRW Posted September 23, 2008 Share Posted September 23, 2008 (edited) Hey! I know @DesktopWidth and @DesktopDepth but how I can retrieve exended monitor DesktopWidth and DesktopDepth or full monitor screen area? Also important is to retrieve that is my extended monitor is left or right side of primary monitor? I just want to make script which moves current active window to another monitor (if exist) and maximizes it. Edited September 23, 2008 by DVDRW Link to comment Share on other sites More sharing options...
Dampe Posted September 23, 2008 Share Posted September 23, 2008 (edited) Not sure about retrieving monitor sizes, but you could do this WinMove ("title", "", @DesktopWidth + 1, -1, -1, -1, 1) WinSetState ("title", "", @SW_MAXMIZE) where -1 represents the default values Edited September 23, 2008 by Dampe Link to comment Share on other sites More sharing options...
dbzfanatic Posted September 23, 2008 Share Posted September 23, 2008 Isn't default centered positioning and something like 1/4 width/height of the display? You really could just try the macros, what do they return? Do they return the res. of just one monitor or the combined res? If it's simply the] res. of the current monitor then if it's the left you could do something like WinMove("Form 1","",@DesktopWidth + $window_width,-1,-1,-1,1) Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote] Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now