Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

User Image
badbob001
64 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.
Dec 1, 2020  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
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!
Dec 4, 2020  • #2
User Image
badbob001
64 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?
Dec 7, 2020  • #3
Thomas Malloch (BFS)'s profile on WallpaperFusion.com
I was able to put together some scripted functions that should work for you. Here's how to get them into DisplayFusion:

  • Download the files attached to this post
  • On the DisplayFusion Settings > Functions tab, click the "Scripted Function > Import Scripted Function" button
  • Select on of the files you downloaded in the first step
  • Give it a key combination and click OK
  • Optionally, select it, click "Toggle TitleBar Button" (to add it to the caption bar of every application)
  • Click Apply and test it out

Thanks!
• Attachment: Expand Down.dfscript [2,839 bytes]
• Attachment: Expand Left.dfscript [2,774 bytes]
• Attachment: Expand Right.dfscript [2,851 bytes]
• Attachment: Expand Up.dfscript [2,765 bytes]
Dec 17, 2020 (modified Dec 17, 2020)  • #4
User Image
badbob001
64 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).
Jan 19, 2021  • #5
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)