topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 8:38 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Tyinsar [ switch to compact view ]

Pages: prev1 [2]
26
JGPaiva's GridMove and Ahk Tools / 3) Creating Your First Grid File:
« on: December 28, 2007, 12:51 AM »
If you've followed this far then the next step is Very simple:
Number your grids like this:
   [1]
   TriggerTop    = [Monitor1Top]
   TriggerBottom = [Monitor1Top] + [Monitor1Height] /2
   TriggerLeft   = [Monitor1Left]
   TriggerRight  = [Monitor1Left] + [Monitor1Width] /3

   GridTop    = [Monitor1Top]
   GridBottom = [Monitor1Top] + [Monitor1Height] /2
   GridLeft   = [Monitor1Left]
   GridRight  = [Monitor1Left] + [Monitor1Width] /3

   [2]
   TriggerTop    = [Monitor1Top] + [Monitor1Height] /2
   TriggerBottom = [Monitor1Bottom]
   TriggerLeft   = [Monitor1Left]
   TriggerRight  = [Monitor1Left] + [Monitor1Width] /3

   GridTop    = [Monitor1Top] + [Monitor1Height] /2
   GridBottom = [Monitor1Bottom]
   GridLeft   = [Monitor1Left]
   GridRight  = [Monitor1Left] + [Monitor1Width] /3

   ...

Now start your file with "[Groups]"

The only extra info your file needs is how many grids you have. This comes right after [Groups]

Tip: You can add comment lines by starting them with a ";" like this:
;comment line

The "slightly more complex 3 part grid" file should look something like this:

[Groups]

NumberOfGroups = 3

[1]
;top left
 TriggerTop    = [Monitor1Top]
 TriggerBottom = [Monitor1Top] + [Monitor1Height] /2
 TriggerLeft   = [Monitor1Left]
 TriggerRight  = [Monitor1Left] + [Monitor1Width] /3
  GridTop    = [Monitor1Top]
  GridBottom = [Monitor1Top] + [Monitor1Height] /2
  GridLeft   = [Monitor1Left]
  GridRight  = [Monitor1Left] + [Monitor1Width] /3

[2]
;bottom left
 TriggerTop    = [Monitor1Top] + [Monitor1Height] /2
 TriggerBottom = [Monitor1Bottom]
 TriggerLeft   = [Monitor1Left]
 TriggerRight  = [Monitor1Left] + [Monitor1Width] /3
  GridTop    = [Monitor1Top] + [Monitor1Height] /2
  GridBottom = [Monitor1Bottom]
  GridLeft   = [Monitor1Left]
  GridRight  = [Monitor1Left] + [Monitor1Width] /3

[3]
;bigger area on right
 TriggerTop    = [Monitor1Top]
 TriggerBottom = [Monitor1Bottom]
 TriggerLeft   = [Monitor1Left] + [Monitor1Width] /3
 TriggerRight  = [Monitor1Right]
  GridTop    = [Monitor1Top]
  GridBottom = [Monitor1Bottom]
  GridLeft   = [Monitor1Left] + [Monitor1Width] /3
  GridRight  = [Monitor1Right]


The actual leading spaces (and space between lines) are unimportant but it's good practice to use them for clarity if you want to edit the file later.

Well, That's your first grid file. "How do I use it?" you ask. Simple:
i) Name the file (Choose a name that describes the grid, I'll use "test") and give it a ".grid" extension. My file will be "test.grid"
ii) Move the new file to your "Grids" directory: This is most likely "C:\Program Files\GridMove\Grids"
iii) If GridMove isn't running then start it. If it is then Left-Click on the tray icon and select "Reload"
iv) Left-Click on the tray icon again and select "Templates" then your new grid file (in my case: "test")
v) Test your grid

Note: If there is an error in the format of the file GridMove will give you an error message and load another file on the list.

27
JGPaiva's GridMove and Ahk Tools / 2) Define Trigger Areas:
« on: December 28, 2007, 12:51 AM »
OK, a grid is useless without telling the computer what triggers the grid. What we need next are "Triggers"

The trigger commands are:
  TriggerTop    =
  TriggerBottom =
  TriggerLeft   =
  TriggerRight  =

The good news is that Trigger commands take exactly the same information as Grid commands. (There is no bad news  ;D)

So to make our "slightly more complex 3 part grid" we could start creating our file by inputting:
   [1]
   TriggerTop    = [Monitor1Top]
   TriggerBottom = [Monitor1Height] /2
   TriggerLeft   = [Monitor1Left]
   TriggerRight  = [Monitor1Width] /3

   GridTop    = [Monitor1Top]
   GridBottom = [Monitor1Height] /2
   GridLeft   = [Monitor1Left]
   GridRight  = [Monitor1Width] /3

   [2]
   TriggerTop    = [Monitor1Height] /2
   TriggerBottom = [Monitor1Bottom]
   TriggerLeft   = [Monitor1Left]
   TriggerRight  = [Monitor1Width] /3

   GridTop    = [Monitor1Height] /2
   GridBottom = [Monitor1Bottom]
   GridLeft   = [Monitor1Left]
   GridRight  = [Monitor1Width] /3

   [3]
   TriggerTop    = [Monitor1Top]
   TriggerBottom = [Monitor1Bottom]
   TriggerLeft   = [Monitor1Width] /3
   TriggerRight  = [Monitor1Right]

   GridTop    = [Monitor1Top]
   GridBottom = [Monitor1Bottom]
   GridLeft   = [Monitor1Width] /3
   GridRight  = [Monitor1Right]

In this example the Triggers match the associated Grids - but they don't have to (this is very important later). For now the important thing to remember is that creating a Trigger area is just like creating a Grid.

Tip: If you overlap Trigger areas the the first one in the file takes precedence in the overlapped area.

28
JGPaiva's GridMove and Ahk Tools / 1) Define Grid Areas:
« on: December 28, 2007, 12:51 AM »
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. 

29
JGPaiva's GridMove and Ahk Tools / GridMove Grid Making Tutorial
« on: December 28, 2007, 12:51 AM »
Creating Your Own Grids

I made this because I Really appreciate this program and want others to love it as much as I do. The problem with GridMove is that, while it's very powerful when properly set up, it's not easy for everyone to get the most out of it (Unless there is an already perfect grid for them or) they create their own grid for their specific setup.

Tip: You can find GridMove Grid files can be posted here: (Link) (you can even share yours)

I'm going to start this fairly simply with only a single monitor setup but the real power comes in with larger screens and multiple monitors.

Sections:

1) Define Grid Areas:
2) Define Trigger Areas:
3) Creating Your First Grid File:
4) Multiple / Overlapping Grids:
5) Special Grid Commands:
6) Using Multiple Monitors: (I'm still planning)
7) Additional Notes: (I'm still planning)

I know this looks like a lot of information but most of it is examples and if you follow along, taking it step by step, it's quite easy. If all you want is a simple Grid then you might only even need parts 1-3.

This is not all complete & parts are preliminary - (but I think it's a useful start)

I'm also still learning the software just like you may be.
Much of what I've learned was from looking at other Grid files - If I stole an idea from you - Thanks!  :P ;D
(If you really, really, Really, want credit let me know ;))

If you have any feedback, would like better explanations, or spot an error, please let me know that too.

Parts 1-5 in beta now :D Feedback is welcome.

Note: If you appreciate this then send Donation Credits (if you are so inclined) to jgpaiva or to this site's general account. (Making this tutorial is my donation).

30
I hope you are having a great Christmas.

I was just looking at your section here and I would like to suggest that your Gridmove page should also have a link to your section of DC or, at the very least, to the grid thread (instead of only having the "Discuss Now" link that leads here).

GridMove is still The best software I've found for my setup (and for TH2G users) and I've been contemplating contacting Matrox & telling them to buy / bundle this with the TH2G.

Edit: Is there a GridMove grid-making tutorial? If not I'm thinking of making one.

31
Pointivator






 ;D

32
JGPaiva's GridMove and Ahk Tools / Re: Triple screen grid
« on: December 22, 2007, 09:43 PM »
@andybris: I see that this is a few months old but I'd like to recommend that you try my grid in the quote link below:
My version defines areas relative to the actual screens but allows the taskbar to be on any edge. This allows you to move the taskbar to the edge (I have mine on the left and I found that saves a lot of desktop space).


33
JGPaiva's GridMove and Ahk Tools / TripleHead2Go Grid
« on: December 22, 2007, 09:15 PM »
The attached grid file is for TripleHead2Go users:

These are the grids:
._______ _______ _______
|       |       |       |
|   1   |   2   |   3   |  one for each screen (1,2,3)
|       |       |       |
'-------'-------'-------'
 _______ _______ _______
|       '       |       |
|    -  4  -    |   3   |  left + center (4)
|       '       |       |
'-------'-------'-------'
 _______ _______ _______
|       |       '       |
|   1   |    -  5  -    |  center + right (5)
|       |       '       |
'-------'-------'-------'
 _______ _______ _______
|   |   '       '   |   |  2 screens wide but centered (6) (windowed game?)
| 7 |   -   6   -   | 8 |
|   |   '       '   |   |  half screens on either side of the centered grid (7,8) (Skype / TeamSpeak / MSN / ... ?)
'-------'-------'-------'

These all use [Monitor1Real...] to define actual midpoints and [Monitor1...] to define edges. This should keep the grids relative to the actual monitors while adjusting for the taskbar on any edge (on the left works best for me).

This updated version adds a narrow band at the top for maximizing a window vertically (9), a narrow band at the bottom to quickly minimize a window (10), and a target to "restore" the window to it's previous size (11) (though the success of that is inconsistent). There is also a 12th area defined but not activated.

\/ See quoted post for older (slightly simpler) version without areas 9&10 (I just found this section.)

34
Tyinsar: thanks a lot!! these are the kind of posts that keep me going ;)

I just tested your grids, and you must have a giant monitor! Some of the elements are so small in my monitor that when i move stuff there, the windows aren't resized to that size, but get a bit larger :P
Some day I may even have to get a PayPal account so I can donate here (I'm guessing that might mean even more heh heh)

The TripleHead2Go (link) allows 3 17" or 19" screens (1280x1024) to work as one monitor (total resolution=3840x1024). I'm using 2 of those in vertical span mode so my total resolution is 3840 x 2048 (6 19" screens).

LOL, I just tried my files on my 22" monitor - I see what you mean about small elements. Anyway, I don't expect many people will want the TH2Gx2.grid I'm using but the TH2G.grid should be great for those using a single TH2G with 3 19" monitors. (Matrox has some nice software for their TH2G but it's just nowhere near as flexible as yours)

@mitzevo: Have you tried creating your own grid? Look at some of the included ones. Make a copy. Modify that. It took me a bit to wrap my head around the idea but it's really easy once you get started.

35
jgpaiva, Thanks! - this program of yours is truly awesome and is the cause for me registering here :beerchug:.

I have attached a grid file for TripleHead2Go users. (I also made and attached another for 2 TH2G in vertical span mode (2 screens high, 3 screens wide) :P)

Both files have intentional blank spots (in case you start dragging a window and change your mind). The TH2G.grid file also has two additional areas defined (in case someone wants more zones) but not active.

EDIT:
1) Unless you are using a TH2G with three monitors you don't need the TH2G.grid file.
2) The TH2Gx2.grid is only for six monitors in a 3w*2h spanned setup (seen as one LARGE monitor)

Edit2: Updated grids in grid thread: --> https://www.donation...dex.php?topic=9387.0

Pages: prev1 [2]