Latest posts of: psyFungi -
Welcome Guest.   Make a donation to an author on the site August 03, 2015, 08:24:34 PM  *

Please login or register.
Or did you miss your validation email?

Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.

You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
Read the full one-year retrospective report on
  Forum Home Thread Marks Chat! Downloads Search Login Register  
  Show Posts
      View this member's profile 
      donate to someone Donate to this member 
Pages: [1]
1 Software / JGPaiva's GridMove and Ahk Tools / Other Variables in Grid definitions on: April 09, 2012, 11:27:34 AM

Just found GridMove today and loving it!

I am using it because I have a new triple-monitor setup and I've got issues with Eyefinity being turned on/off and then Windows (7) Resolution and monitor layouts getting all confused.  So I've decided to just leave Eyefinity enabled all the time.

With Eyefinity enabled you effectively have only ONE monitor, so Win 7 Snap and Maximize doesn't work as desired, thus GridMove to the rescue.

I've got three 1920x1200 monitors combining to create a single 6044x1200 desktop (not 5760x1200 - there's additional width of 284 added for bezel compensation, which may be evenly split into two 142px strips, or it may be 141+143 - I can't tell)

The problem(s): The the [Monitor1Right] variable/element is 6044 not 1920.  None of the built-in variables know the true 1920 width of the physical display.  My grid definition is ending up with lots of "hard-coded" numbers like this:

Formatted for Text with the GeSHI Syntax Highlighter [copy or print]
  1. ; Middle-full-screen
  2. GridLeft      = 1920 + 141
  3. GridRight    = 1920 + 141 + 1920

What I would like to do is define some variables up front:

Formatted for Text with the GeSHI Syntax Highlighter [copy or print]
  1. [MonitorWidth] = 1920
  2. [BezelLeftWidth] = 141
  3. [BezelRightWidth] = 143

Then all the grids would have nice formulas like this:

Formatted for Text with the GeSHI Syntax Highlighter [copy or print]
  1. ; Middle-full-screen
  2. GridLeft      = [MonitorWidth] + [BezelLeftWidth]
  3. GridRight    = [MonitorWidth] + [BezelLeftWidth] + [MonitorWidth]

Does this make sense? 

I can go with hard coded numbers if needed, but the grid becomes locked to my particular installation and if I recalibrate the bezel compensation I need to search/replace "141" throughout the file rather than once in the variable definition.

I tried downloading the source code to see how GridMove works internally but the source code link is broken:
http://jgpaiva.dcmembers..../CS/GridMove/ is 404.  (Also tried with a 7z extension.)

Once again, thanks for a fantastic utility.  Donation on its way!
Pages: [1] | About Us Forum | Powered by SMF
[ Page time: 0.028s | Server load: 0.04 ]

Share on Facebook
submit to reddit