ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > JGPaiva's GridMove and Ahk Tools

Small utility for quick prototyping GridMove layouts

(1/3) > >>

Xitsa:
I've wrote small utility for creating simple GridMove layouts.
It's main task to make easy calculating grid's coordinates (I was bored after making two grids :)).
GridStack is a command line application accepting definition of a grid layout and outputing GridMove's template.

You can get it here.

How to use:
GridStack input.stack output.grid
input.stack — definition of grid in series of subdivisions
output.grid — input template for GridMove.

input.stack is a sequence of definitions of monitors

Each monitor has region which can be divided in several regions vertically or horizontally. Each region can be divided vertically or horizontally also. There where division ends is window.

Each region can be divided either horizontally or vertically. Definition of each subregion includes Dimension: relative dimension of a subregion.

For example: if we use definition
HStack ( Window 1 Window 2)
we get two windows of same height with sizes 33% and 66% of upper region width respectively.

To set absolute (not relative) size use size! (warning: between number and exclamation mark shouldn't be any spaces!).

If size not specified assumed value 1.

Example:
For generating 3-part.grid one should provide following input:

Monitor 1
 HStack
   (
     Window 2
     VStack
       (
         Window
         Window
       )
   )
Monitor 2
 HStack
   (
     Window 2
     VStack
       (
         Window
         Window
       )
   )
Monitor 3
 HStack
   (
     Window 2
     VStack
       (
         Window
         Window
       )
   )

One more example:

Monitor 1
 VStack
   (
     HStack 1
       (
         Window
         Window
         Window
         Window
       )
     HStack 3
       (
         Window
         VStack  300! #300 pixels for width
          (
            Window 3
            Window 5
          )
         Window
       )
   )


Please test

mouser:
holy cow no one responded to this post yet?!?!
It's such a fun gesture and gift to gridmove users.  Thank you.

Time to test it!

jgpaiva:
This really looks good, and seriously simpler than the current method for creating grids.

I really hate the fact that it's such a pain to learn how to make grids, it's great that you took the time to make it easier for everyone :D
Thanks xitsa!

PS: did you make this with ahk? Maybe you could post the source code too? ;)

jgpaiva:
I just gave it a quick spin, and it's VERY impressive!
It's easy to get the hang of it (or at least, way easier than I anticipated ;) ), and I was able to make 3 grids in like.. 20 seconds? :D
Congrats on a great work, xitsa :D

Shades:
The KISS principle is not used here  :(  or I am at a level of stupidity that would even put Mr. Bean to shame  ;D

How does it work?

When i used the example in the following lines inside the WinXP SP1 DOSbox it always returns the same message:
"Use: gridstack input.stack output.grid"

The lines:
e:\downloads\gridstack HStack ( Window 1 Window 2) e:\grid.grid
e:\downloads\gridstack "HStack ( Window 1 Window 2)" e:\grid.grid
e:\downloads\gridstack ( Window 1 Window 2) e:\grid.grid
e:\downloads\gridstack HStack (Window 1 Window 2) e:\grid.grid
e:\downloads\gridstack HStack ( Window1 Window2) e:\grid.grid
e:\downloads\gridstack HStack ( Window 1,Window 2) grid.grid
e:\downloads\gridstack VStack ( Window 1 Window 2) e:\grid.grid







Navigation

[0] Message Index

[#] Next page

Go to full version