**a) What is a "Grid"?** A Grid is an area that your window will be resized to.

For now just follow along. We can't actually make a grid file until the end of section 3 because first we have to plan.

**The first and most important thing to decide is how you want to divide your monitor. You can have simple, non-overlapping, grids or complex setups with several different ways to split your screen. It might even be a good idea to sit down and draw out the grids you want before you read any farther.**Tip: Before you go "all out" and create huge number of ways to divide your screen please think carefully about how many of these you would use daily. Sometimes too many options and too many Triggers will actually slow You down. Start with simple grids then ask yourself how many you really need to keep everything flowing smoothly and quickly.

Let me start by introducing a few terms:

` GridTop =`

GridBottom =

GridLeft =

GridRight =

These tell GridMove where the edges of your grids are.

Note: I'm not sure if the order of these matters much. Some grid files go in this order:

` GridTop =`

GridLeft =

GridBottom =

GridRight =

But my order (top, bottom, left, right) is the simplest one for

**my** brain so it's the one I'll use in this tutorial.

Here are some

**edges**: to start with:

Tip: the "1" is because these all refer to monitor 1. For monitor 2 replace this with a 2.

` [Monitor1Top]`

[Monitor1Bottom]

[Monitor1Left]

[Monitor1Right]

Those are what I call "relative" edges because they account for the taskbar. If your taskbar is set to "Auto-Hide" then this doesn't matter much to you.

However, if you have Auto-Hide off, your taskbar is on the bottom of your screen, and it's 20 pixels high then [Monitor1Bottom] defines a location 20 pixels from the bottom of your screen. If it's on the Left and 100 pixels wide then [Monitor1Left] is 100 pixels from the left. ...

So:

` GridTop = [Monitor1Top]`

GridBottom = [Monitor1Bottom]

GridLeft = [Monitor1Left]

GridRight = [Monitor1Right]

makes a window the size of your screen (minus the area taken by the taskbar).

There are also what I will call "absolute" edges.

` [MonitorReal1Top]`

[MonitorReal1Bottom]

[MonitorReal1Left]

[MonitorReal1Right]

These define real screen edges no matter where the taskbar is. These are great for 2 monitors in "span" mode or for setting exact screen locations and exact window sizes.

So:

` GridTop = [MonitorReal1Top]`

GridBottom = [MonitorReal1Bottom]

GridLeft = [MonitorReal1Left]

GridRight = [MonitorReal1Right]

makes a window the size of your screen and includes the area normally taken by the taskbar.

Tip: I always define grid edges that are also on screen edges as relative (without the "Real") just because I may move or resize the taskbar.

The next set of terms are:

` [Monitor1Height]`

[Monitor1Width]

and

[MonitorReal1Height]

[MonitorReal1Width]

What these mean should be obvious but here's an example anyway:

On a monitor running at 1680 x 1050 (most 20" and 22" monitors) [MonitorReal1Width] always = 1680 pixels and [MonitorReal1Height] always = 1050 pixels. However [Monitor1Height] and [Monitor1Width] would account for the taskbar so they may be less.

**b) Dividing Your Screen**"OK, I want to split my wide screen down the center. How do I do that?"

The main method, and easiest way, is to use simple math:

Grid 1 (Left Window)

` GridTop = [Monitor1Top]`

GridBottom = [Monitor1Bottom]

GridLeft = [Monitor1Left]

GridRight = [Monitor1Left] + 1/2 * [Monitor1Width]

Grid 2 (Right Window)

` GridTop = [Monitor1Top]`

GridBottom = [Monitor1Bottom]

GridLeft = [Monitor1Left] + 1/2 * [Monitor1Width]

GridRight = [Monitor1Right]

(Remember: Multiplication & division get done before addition & subtraction)

Tip: GridMove ignores spaces in math equations but I used them here for clarity. They are optional in your grid files.

Tip: Since I thought that [Monitor1Height] starts at the top & [Monitor1Width] starts at the left so [Monitor1Top] and [Monitor1Left] could be left out - but that has odd results (it gets even worse to leave them out when you have more than one monitor). It's usually best to start with one of those edges.

The grids above work but I don't like the way the formulas look so I'll rewrite those as:

Grid 1 (Left Window)

` GridTop = [Monitor1Top]`

GridBottom = [Monitor1Bottom]

GridLeft = [Monitor1Left]

GridRight = [Monitor1Left] + [Monitor1Width] /2

Grid 2 (Right Window)

` GridTop = [Monitor1Top]`

GridBottom = [Monitor1Bottom]

GridLeft = [Monitor1Left] + [Monitor1Width] /2

GridRight = [Monitor1Right]"OK, How about 3 Parts?"

For that we can use fractions:

`Grid 1 (Left Window)`

GridTop = [Monitor1Top]

GridBottom = [Monitor1Bottom]

GridLeft = [Monitor1Left]

GridRight = [Monitor1Left] + 1/3 * [Monitor1Width]

Grid 2 (Center Window)

GridTop = [Monitor1Top]

GridBottom = [Monitor1Bottom]

GridLeft = [Monitor1Left] + 1/3 * [Monitor1Width]

GridRight = [Monitor1Left] + 2/3 * [Monitor1Width]

Grid 3 (Right Window)

GridTop = [Monitor1Top]

GridBottom = [Monitor1Bottom]

GridLeft = [Monitor1Left] + 2/3 * [Monitor1Width]

GridRight = [Monitor1Right]

Tip: "*1/3" also can be simplified to "/3" and is perhaps easier to read that way/

Tip: The math component seems quite flexible. and you can also use fractions, decimals, and percentages. This means that:

GridLeft = [Monitor1Left] + [Monitor1Width] /2

is the same as

GridLeft = [Monitor1Left] + [Monitor1Width] * 1/2

and

GridLeft = [Monitor1Left] + [Monitor1Width] *.5

and

GridLeft = [Monitor1Left] + [Monitor1Width] * 50%I tend to think in fractions so that's what I'll use in my examples. Feel free to convert this to the style that makes the most sense to you.

Another great great thing about GridMove is that you can mix different grid sizes so...

Let's try a slightly more complex 3 part grid:

` [1]`

GridTop = [Monitor1Top]

GridBottom = [Monitor1Top] + [Monitor1Height] /2

GridLeft = [Monitor1Left]

GridRight = [Monitor1Left] + [Monitor1Width] /3

[2]

GridTop = [Monitor1Top] + [Monitor1Height] /2

GridBottom = [Monitor1Bottom]

GridLeft = [Monitor1Left]

GridRight = [Monitor1Left] + [Monitor1Width] /3

[3]

GridTop = [Monitor1Top]

GridBottom = [Monitor1Bottom]

GridLeft = [Monitor1Left] + [Monitor1Width] /3

GridRight = [Monitor1Right]

should make a grid like this:

___ ______

| 1 | |

|___| 3 |

| 2 | |

|___|______|There is another method for defining grids but I'll get to that in

"Special Grid Commands".

Congratulations! If you got this far and understood it then you've already got Most of what you need to know.