badbob001
67 discussion posts
I have my 4k monitor split as such:
[1:1280 x 750][2:1280 x 750][3:1280 x 750]
[4:1280 x 1410][5:1280 x 1410][6:1280 x 1410]
I have the following basic functions to expand a window down vertically or right horizontally.
increase height (ctrl-alt-down)
window screen action: keep window on same monitor
window alignment: don't move the window
change window width to specified pixel value: don't change window width
window height change: 2160
increase width (ctrl-alt-right)
window screen action: keep window on same monitor
window alignment: don't move the window
change window width to specified pixel value: 2560
window height change: don't change window height
Say for a window in split 2, if I invoke the 'increase width' function, it will fill 2 and 3. Then if I invoke 'increase height' I expect it to fill 2, 3, 5, and 6. But it undoes the previous function and fills out 2 and 5. What is wrong?
Ultimately, I would like to be able to use ctrl-alt-up/down/left/right to expand a window to fill a split in the corresponding direction or repeat the same function direction to fill additional splits, but this doesn't seem possible without creating a custom script.
The regular Custom Functions are only setting absolute values, so it's not changing the size by 2160, it's setting the size to 2160.
You're correct that you'd need a Scripted Function to do what you're looking for. I will pass this over to one of our developers to see if they're able to write a Scripted Function that does this.
Thanks!
badbob001
67 discussion posts
I know that the sizes are absolute, but if I run one function to set the height to 2160 and the another function to set the width to 2560, why does the height change from 2160?
badbob001
67 discussion posts
This works perfect! Super thanks! Now I just need to figure-out to add a "shift" version of these scripts to shrink the window (eg: ctrl-alt-shift-left will shrink right edge).