
DY0
7 discussion posts
I'm trying to use DisplayFusion to create 8 "zones" on my 2 monitors. Whenever I open a new window of a program, I want it to send it to the first zone that is unoccupied, i.e. it checks to see if the zone has a window of the program already running in it. If it doesn't, it places it in the zone and resizes itself to fill the zone and if it does, sends it to the next available zone. I searched the forums for something like this and found "open notepad in position A or B", but that appears to be for 2 windows and not up to 8. Can anyone help me in scaling this code to include more windows and zones?

DY0
7 discussion posts
Hi Keith,
That would be great! As a more manual workaround currently, I assigned 8 functions with hotkeys that send the window to these designated zones (specified by X Y positions and length/width), each 25% of the screen but with a 1 pixel overlap. I tried using the monitor splitting for this, but didn't like the 1 pixel gap between my windows that appeared, hence using the specific positions with a tiny overlap.
However, if you could script and automate this process, I'd have no problem with the 1 pixel gap. Let me know if I need to provide any more details!

DY0
7 discussion posts
Thanks, the file name is BovadaPoker.exe but once it executes and starts running, Task Manager shows the file name as Lobby.exe. It's a client for a poker site and I essentially open new game tables from the lobby. I'm trying to get it to configure my tables in a certain way once they open so I don't have to do it manually, if that makes sense. Not sure how that might change the viability of creating this code.
Each table has width 963 and height 521.
My zones are:
Zone 1 X: -1 Y: 0
Zone 2 X: 960 Y: 0
Zone 3 X: -1 Y: 521
Zone 4 X: 960 Y: 520
Zone 5 X: -964 Y: 0
Zone 6 X: -1927 Y: 0
Zone 7 X: -964 Y: 520
Zone 8 X: -1927 Y: 520

DY0
7 discussion posts
Keith,
Thanks! I followed your instructions, downloaded the code, and it works great. If I have multiple programs that I want included in this function without creating a rule for each one, is there a quick add for line 27? Or should I just create a different trigger and function for each one?

DY0
7 discussion posts
Yes, I would like it to skip a zone if that's possible.

DY0
7 discussion posts
It would be the former - if one of the specified applications is in the zone.