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

DonationCoder.com Software > Post New Requests Here

IDEA: drag window to edge automatically resizes it

<< < (98/146) > >>

spyda:
Sorry for taking so much time, but here's your grid, spyda!
Just put it on \Grids folder, re-run gridmove and select that grid from the templates list.

[edit] Grid modified, added support for multiple monitor [/edit]
-jgpaiva (February 20, 2007, 10:47 AM)
--- End quote ---

Hey, I know this is like more than a year late but thanks so much for this grid!

In truth, I got mixed up with other things and forgot all about gridmove. However, now I have a Vista lappy and a wide screen I have re-visited and found this solution that you knocked up for me over a year ago! Really appreciate it and sorry it's taken so long!

Now, a brief question ...

I now have a wide screen and like to keep my main window about 3/4 the width of the screen with a few bits running down the right side. Actually I would like to make it a little more than 3/4 but to keep things simple I will leave it at that.

So, a nice simple one for you (if you are still talking to me) ...

I would love a grid (separate but to run alongside this one) that gives me the ability to instantly snap a window to 3/4 the width of the screen. I have looked at the tutorial and although this is a really simple one I cannot figure it!

Any chance of a few pointers - or making the grid for me if you were feeling especially generous?

Thanks again mate, much appreciated, and again ... apologies for the delay!

Edit: Actually, thinking about it ... in order to make this proposed grid even more useful it would be great to have the ability to split the left section down the middle also, so that I can list windows side by side while still maintaining my quarter of the screen to the right for my gadgets

.... or am I pushing my luck now !? :).

jgpaiva:
Hi Spyda!

Well, if you just want to snap to 3/4, that's really simple.
Here's a simple grid to do that:


--- ---[Groups]
  NumberOfGroups = 2

[1]
  TriggerTop    = [Monitor1Top]
  TriggerRight  = [Monitor1Left] + [Monitor1Width]  * 3/4
  TriggerBottom = [Monitor1Bottom]
  TriggerLeft   = [Monitor1Left]
  GridTop       = [Monitor1Top]
  GridRight     = [Monitor1Left] + [Monitor1Width]  * 3/4
  GridBottom    = [Monitor1Bottom]
  GridLeft      = [Monitor1Left]

[2]

  TriggerTop    = [Monitor1Top]
  TriggerRight  = [Monitor1Right]
  TriggerBottom = [Monitor1Bottom]
  TriggerLeft   = [Monitor1Left] + [Monitor1Width]  * 1/4
  GridTop       = [Monitor1Top]
  GridRight     = [Monitor1Right]
  GridBottom    = [Monitor1Bottom]
  GridLeft      = [Monitor1Left] + [Monitor1Width]  * 1/4

spyda:
Great, thanks for that and for the speedy response!

Now, I have tried to adjust that to make it snap to other proportions (to make the right side narrower) the way I tried was:

[Groups]
  NumberOfGroups = 2

[1]
  TriggerTop    = [Monitor1Top]
  TriggerRight  = [Monitor1Left] + [Monitor1Width]  * 9/10
  TriggerBottom = [Monitor1Bottom]
  TriggerLeft   = [Monitor1Left]
  GridTop       = [Monitor1Top]
  GridRight     = [Monitor1Left] + [Monitor1Width]  * 9/10
  GridBottom    = [Monitor1Bottom]
  GridLeft      = [Monitor1Left]

[2]

  TriggerTop    = [Monitor1Top]
  TriggerRight  = [Monitor1Right]
  TriggerBottom = [Monitor1Bottom]
  TriggerLeft   = [Monitor1Left] + [Monitor1Width]  * 1/10
  GridTop       = [Monitor1Top]
  GridRight     = [Monitor1Right]
  GridBottom    = [Monitor1Bottom]
  GridLeft      = [Monitor1Left] + [Monitor1Width]  * 1/10

Obviously this is not how it's done ... as it made NO difference!

I would love to get a grid working along these lines:

------------------------------
|                                     |  |
|                                     |  |
|                    1                |2|
|                                     |  |
|                                     |  |
|                                     |  |
------------------------------

but I would also like to be able to divide section 1 into 2 (50/50 split), leaving section 2 as it is.

Just to note, I have no need to snap anything into section 2, that's just an area of my desktop I would like to be visible when using other windows. Also, I have no need to reverse the above configuration (so the narrow part is to the left).

My main working area will be section 1 and normally this will be filled with whatever application I am using at the time. However, I would like to be able to split that into 2 (50/50).

Does this make sense? Is it something you could easily knock up?

Again, many thanks!

jgpaiva:
Well, you weren't that far. ;)
Here you go:
grid inside
--- ---[Groups]
  NumberOfGroups = 4

[1]
  TriggerTop    = [Monitor1Top]
  TriggerRight  = [Monitor1Left] + [Monitor1Width]  * 9/10
  TriggerBottom = [Monitor1Bottom] -30
  TriggerLeft   = [Monitor1Left]
  GridTop       = [Monitor1Top]
  GridRight     = [Monitor1Left] + [Monitor1Width]  * 9/10
  GridBottom    = [Monitor1Bottom]
  GridLeft      = [Monitor1Left]

[2]
  TriggerTop    = [Monitor1Top]
  TriggerRight  = [Monitor1Right]
  TriggerBottom = [Monitor1Bottom]
  TriggerLeft   = [Monitor1Left] + [Monitor1Width]  * 9/10
  GridTop       = [Monitor1Top]
  GridRight     = [Monitor1Right]
  GridBottom    = [Monitor1Bottom]
  GridLeft      = [Monitor1Left] + [Monitor1Width]  * 9/10

[3]
  TriggerTop    = [Monitor1Bottom] -30
  TriggerRight  = [Monitor1Left] + [Monitor1Width]  * 9/10 * 1/2
  TriggerBottom = [Monitor1Bottom]
  TriggerLeft   = [Monitor1Left]
  GridTop       = [Monitor1Top]
  GridRight     = [Monitor1Left] + [Monitor1Width]  * 9/10 * 1/2
  GridBottom    = [Monitor1Bottom]
  GridLeft      = [Monitor1Left]

[4]
  TriggerTop    = [Monitor1Bottom] -30
  TriggerRight  = [Monitor1Left] + [Monitor1Width]  * 9/10
  TriggerBottom = [Monitor1Bottom]
  TriggerLeft   = [Monitor1Left] + [Monitor1Width]  * 9/10 * 1/2
  GridTop       = [Monitor1Top]
  GridRight     = [Monitor1Left] + [Monitor1Width]  * 9/10
  GridBottom    = [Monitor1Bottom]
  GridLeft      = [Monitor1Left] + [Monitor1Width]  * 9/10 * 1/2

spyda:
At least I tried eh?

Well, that's BRILLIANT and works just as I need it to!

Thanks jg, excellent work!

Any news on that grid maker you mentioned? Would love to be able to design grids in a gui for this excellent application ... I can't get my head round the text version as you see! lol

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version