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.
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.