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

Center Window Ignoring Splits (run again to restore position)

Peter Erdman
9 discussion posts
Hi I'm running the abvoe function
I have 3 monitors setup & run 2 splits on each monitor
when i use the function the window goes full screen this works on all monitors
when i use the function to toggle back to the split the window was in, the window starts to minimize, disappears then returns to full screen mode
Pete@2/4
• Attachment: DisplayFusionDebugInfo 04 06 20.zip [32,277 bytes]
Jun 3, 2020  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Was it working for you in 9.6.1 and it's broken after updating to the 9.7 Beta version?
Jun 3, 2020  • #2
Peter Erdman
9 discussion posts
Hi Keith, function wasn't working in 9.7
Pete@2/4
Jun 4, 2020  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, I'll ask one of our developers to see if they can make this function work.
Jun 4, 2020 (modified Jun 4, 2020)  • #4
Thomas Malloch (BFS)'s profile on WallpaperFusion.com
I was able to put something together that should work for you. Here's how to get it into DisplayFusion:

  • Download the file attached to this post
  • Open the DisplayFusion Settings > Functions tab
  • Click Scripted Function > Import Scripted Function
  • Select the file 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!
Jun 11, 2020  • #5
Peter Erdman
9 discussion posts
#5, Hi Keith, sorry about stretching this decussion out
the fix dint work, ive attached 2 files 1-deails about monitors, 2-shows functions behaviour
hope this is helpful
Pete@2/4
• Attachment [protected]: Monitors 01 Sml.pdf [459,367 bytes]
• Attachment [protected]: Monitors 02 Sml.pdf [798,806 bytes]
Jul 3, 2020  • #6
Thomas Malloch (BFS)'s profile on WallpaperFusion.com
Hi Peter,

To get the script to work correctly for your setup, you're gonna have to change the code a little bit. There's a variable on line 19 that looks like this:

Code



You'll need to change the "-1" to another number. Since your setup is a bit complicated, you might need to play around with this value until the windows position themselves properly on the monitor you want.

Thanks!
Jul 10, 2020  • #7
Peter Erdman
9 discussion posts
Hi Mate, tried different numbers as suggested results the same. infact all builtin functions that move & resize windows dont work. attached troubleshooting file
Pete@2/4
• Attachment [protected]: DisplayFusionDebugInfo 17-48 14 07 20.zip [46,121 bytes]
Jul 14, 2020  • #8
Thomas Malloch (BFS)'s profile on WallpaperFusion.com
It sounds like something to do with scripting might not be working on your computer. Would you be able to send us a debug log? Here's how you can get that to us:

  • On the DisplayFusion Settings > Troubleshooting tab, change the Logging drop-down to "L1: Log Minimal" and click Apply
  • Reproduce the issue and note the time so we'll know where to check in the log file
  • Click the "Export Info to File" button on the Settings > Troubleshooting tab
  • Reply with the file attached
  • Disable debug logging after sending the log

Thanks!
Jul 20, 2020  • #9
Peter Erdman
9 discussion posts
Troubleshooting file
Pete@2/4
Aug 22, 2020  • #10
Peter Erdman
9 discussion posts
SORRY GUYS forgot to include time 06:35 / 6:35am
Pete@2/4
Aug 22, 2020  • #11
Thomas Malloch (BFS)'s profile on WallpaperFusion.com
Hi Peter!

Sorry, it looks like you might have forgot to attach your log to your posts above.

Thanks!
Aug 25, 2020  • #12
Peter Erdman
9 discussion posts
hope you get this time
Pete@2/4
• Attachment [protected]: DisplayFusionDebugInfo 23 08 20.zip [121,441 bytes]
Aug 26, 2020  • #13
Peter Erdman
9 discussion posts
ps Adobe windows will maximise on all monitors with 2 splits then return to the original split. I don't know if app will capture this if it can and its useful let me know and I'll record it
Pete@2/4
Aug 26, 2020  • #14
Scott158
1 discussion post
Hi Thomas. I like this script, thank you. I have a 4k monitor, so I'd like to resize the centre window a little bigger, say 2560x1440. I can change the desired width in your script, but can't seem to change the height. Any advice?

Oh, I just noticed, sometimes it goes to the wrong screen. Odd.

2-screen setup: 4k on the right, 1080 on left. Set monitor to '1'.

Thank you!
• Attachment: Screenshot 2020-11-11 122725.png [364,167 bytes]
Screenshot 2020-11-11 122725.png
Screenshot 2020-11-11 122725.png
Nov 11, 2020  • #15
Thomas Malloch (BFS)'s profile on WallpaperFusion.com
Sorry for the late reply! I was able to modify the code to get it to also adjust the height, and I've went ahead and changed the code to resize the window to what you mentioned above. Here's how to get it into DisplayFusion:

  • Download the file attached to this post
  • Open the DisplayFusion Settings > Functions tab
  • Click Scripted Function > Import Scripted Function
  • Select the file 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!
Mar 8, 2021  • #16
Was this helpful?    
<< DiscussionsReply