Save up to 50% off any of our desktop apps in our 2021 spring sale, including
DisplayFusion, ClipboardFusion, FileSeek, LogFusion, TrayStatus, and VoiceBot!

Title

Message

Confirm

<< DiscussionsReply

Window Sizing with Mouse scroll button left/right click?

JGUltrawide1
7 discussion posts
I have a widescreen with a monitor split set up like pillar boxes - a big central area and a thinner side area on each flank.

Sometimes a browser window on one of these flanks is too thin and I need to expand it to 50% screen size, basically like hitting win key + left arrow to snap it to the left half of the screen.

Is it possible to:
1) Make this a toggle, e.g. hotkey that pressed once brings to 50% screen-left, pressed again resumes to original position?

2) Map this to the Mouse Scroll button right/left clicks? What I mean by this is my house scroll wheel has the click down, but also the click left and click right features that I don't use for anything.

Ideally when I'm using the left pillar window I'd click right to expand it and left to return to original, and vice versa on the right.
Jul 7, 2020  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
The first part could be done with a pair of scripted functions. Unfortunately it's not possible to map it to the mouse scroll left/right though. Would you still like a sample scripted function that can do this?

If so, please attach a copy of your DisplayFusion troubleshooting info (see below) and we'll write one up when we have some time.

Could you send me a copy of your troubleshooting info? Here are the steps:

  • Open the Settings > Troubleshooting tab
  • Click the "Export Info to File" button
  • Reply with the file attached

Thanks!
Jul 9, 2020  • #2
JGUltrawide1
7 discussion posts
That's extremely generous of you, thank you very much. File is attached.

I will look to see if the Logitech software or some other 3rd party can map the scroll left/right to another command and then piggyback off that.

Thank you again, the support on this forum is on another level.
• Attachment [protected]: DisplayFusionDebugInfo.zip [28,020 bytes]
Jul 9, 2020  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Thanks for the kind words! Try importing the two attached scripts.

"Cycle Left to Right" assumes you're starting with a window that's on the left-most split and it will cycle to left half (ignore splits), right half (ignore splits) and the right-most split.

"Cycle Left to Right" does the opposite

Hope that helps!
• Attachment: Cycle Left to Right.dfscript [2,142 bytes]
• Attachment: Cycle Right to Left.dfscript [2,144 bytes]
Jul 10, 2020  • #4
JGUltrawide1
7 discussion posts
First off thanks again. As someone in a tech support-adjacent field I cringe at the thought of asking a follow up request to free work.

The first part of the scripts do what I want, expand the window. After that though, it cycles through my monitor splits which is not needed, I just want it to jump back to the original position.

I have attached a video of the scripts in action.

Time Stamps:
00:01 - a peek at my triple panel monitor config.
00:10 - cycling through the scroll left-to-right script.
Note - ultimately it stays on maximized, I then return it to a smaller window manually.
00:35 - repeating the same proces for the right-to-left script
00:48 - My desired function - Left panel expands to half screen by script (so far so good), but then resizing back to the left panel original position, which I have to do manually.
• Attachment [protected]: scroll script.mp4 [2,454,470 bytes]
Jul 10, 2020  • #5
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ah ok, so you just want one script to toggle between the left split and the left half (ignore splits), and another script like that for the right side?
Jul 10, 2020  • #6
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Try these ones out
• Attachment: Cycle Left Split and Left Half.dfscript [1,690 bytes]
• Attachment: Cycle Right Split and Right Half.dfscript [1,708 bytes]
Jul 10, 2020  • #7
JGUltrawide1
7 discussion posts
This is beautiful. C'mere I'm gonna kiss you on the mouth.
Jul 12, 2020  • #8
Was this helpful?    
<< DiscussionsReply