Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure?

User Image
Robert Blum
36 discussion posts
I work with three monitors. I find that I don't just move a window to different monitor (usually using caption buttons), but I move all the windows on that monitor to the other monitor. Just to complicate matters, I usually want to swap all the windows from one monitor with those on the target monitor. (I have portrait and landscape monitors...)

It's a suggestion.

The interesting thing is if there are two monitors, you just need a swap button/key. If it is three or more, you need to ask for the target monitor after issuing the command.

Happy coding, and keep up the excellent work!

-Robert (sfwrtr)
Aug 18, 2011  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
I've added this to our feature request list.

Thanks!
Aug 19, 2011  • #2
User Image
Daren Sanborn
1 discussion post
I have two monitors - one is a standing desk the other is a sitting desk. I like to switch between the two desks and this would be a great feature for me to easily be able to switch between my two desks. Currently I have to go to each window and click the "move to other monitor" button at the top.
May 3, 2014  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
@Daren: I think what you're looking for is the "Move all windows to current monitor" Function on the Settings > Functions tab. Just assign a key combination to that, and when you press it, DisplayFusion will move all windows to the monitor that has the mouse cursor :)
May 6, 2014  • #4
User Image
Tanya Curtis
1 discussion post
Hi,

Is there an update on the feature that was originally requested in this thread?

Thanks!
Jun 22, 2014  • #5
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Not yet, but we're hoping to have a way to do this in the next couple of versions :)
Jun 23, 2014  • #6
User Image
Charlie77
21 discussion posts
Good afternoon,

Has there been any progress on implementing this feature? That is, the ability in one hot-key to swap the active window on each of two monitors to the other monitor? There are multiple times a day when I could use this feature. I saw a couple other postings related to this feature request but thought it would be more considerate to reply to an already-active thread.

Also, is there a way to have this implemented via the new custom scripts feature? If so, is anyone willing to code it for us? :laugh:

Sincerely,
Charlie77
Feb 3, 2015  • #7
Keith Lammers (BFS)'s profile on WallpaperFusion.com
This might actually be possible with a script now. We'll try and put one together for you to test out :)
Feb 5, 2015  • #8
User Image
Charlie77
21 discussion posts
Hi Keith,

I, and I'm sure others, will most greatly appreciate your folks' efforts.

Most sincerely,
Charlie77
Feb 5, 2015  • #9
User Image
Charlie77
21 discussion posts
Quote:
This might actually be possible with a script now. We'll try and put one together for you to test out :)


Hi Keith,

Any luck on the programming of this hopefully not-too-troublesome script?

Thank you,
Charlie
Feb 17, 2015  • #10
Keith Lammers (BFS)'s profile on WallpaperFusion.com
No luck yet, sorry. We're having some trouble with the z-order that's preventing this script from working. I'll keep you posted as soon as we're able to get it going though :)
Feb 18, 2015  • #11
User Image
Charlie77
21 discussion posts
Thanks for working hard on this. Look forward to hopefully being able to download this script soon.

Regards,
Charlie
Mar 3, 2015  • #12
User Image
Charlie77
21 discussion posts
Hi Keith,

I see Thomas Malloch created the script "Swap All Windows Between Two Monitors", which somewhat accomplishes the Feature Request of this thread (it swaps all windows from one monitor to the next, instead of just the active window). But there is one other overall issue and I'm not sure if this question should be directed to you or Thomas:

Every time the script is executed it queries the user to select a "first" and then a "second" monitor. This query takes a lot of time every instance the script is executed and is unnecessary I believe for users running only two monitors. Is there anyway to bypass this / set the script to a default setting so it does not require a user to input the same information every time the script is executed?

Thanks very much,
Charlie
Apr 27, 2015 (modified Apr 27, 2015)  • #13
Keith Lammers (BFS)'s profile on WallpaperFusion.com
There sure is! Just use the "Move All Windows To Next Monitor" script instead. If you only have two monitors, the "next" monitor is always the "other" monitor :)

Sorry for not updating this thread as well. It somehow fell off my list :(
Apr 27, 2015  • #14
User Image
Charlie77
21 discussion posts
Hi Keith,

So is there still no way to swap/move only the single top window on each monitor to the other monitor with one keystroke? (on a two-monitor setup)

Thanks,
Charlie
Apr 28, 2015  • #15
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Actually there is! Not sure why I hadn't posted it to the Scripted Function repository, but it's there now. Here's how to set it up:
This functionality is now available using a Scripted Function. We've written an example one for you. Here's how to set it up:

  • Update to the latest 7.2 Beta (required for this scripted function to work)
  • On the DisplayFusion Settings > Functions tab, click the "Download Scripted" button
  • Double-click the script named "Swap Topmost Windows on Monitors 1 and 2"
  • 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!
Apr 28, 2015  • #16
User Image
Charlie77
21 discussion posts
Hi Keith,

This sounds exciting, but there is an issue with the new beta 7.2: It doesn't allow me to set a key combination for the new script -- see the attached image. After I select the modifier ("shift" in this case) and enter "S", the dialogue does not disappear and accept the key combination as it used to in v7.1 (you'll also note the sizing of the window is incorrect).

As a side, in the download script window, can you make the column headers clickable so that one can organize the scripts by "last modified" or "name", etc? This will allow users to see the latest added scripts easily.

Thanks very much,
Charlie
• Attachment [protected]: 2015-04-29 15_11_31-Swap Topmost Windows on Monitors 1 and 2 • DisplayFusion Pro 7.2 (Beta 5).png [32,827 bytes]
Apr 29, 2015 (modified Apr 29, 2015)  • #17
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Could you check what level your font scaling settings are set to? Looks like an issue with the hotkey edit window not scaling properly :(
Apr 30, 2015  • #18
User Image
Charlie77
21 discussion posts
Hi Keith,

If what you're asking is what I think it is, its set to "Medium - 125%" on Win7.

Regards,
Charlie
May 4, 2015  • #19
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Yep, that's it! I was able to reproduce that issue at 125% scaling as well. We'll hopefully have that fixed up for the next beta :)
May 5, 2015  • #20
User Image
Lum
42 discussion posts
Running 7.2 beta 6 on Windows 7 Enterprise SP1 and also on a separate machine running Windows 8.1
Only just bought the software so apologies if I'm asking noob questions.

I can run this script. I get the little popup saying it's running, but it doesn't behave right.
On my Windows 7 machine, none of the windows move.
On my Windows 8 machine, only some move. Putty will move every time. Firefox, Pidgin and Thunderbird only sometimes move, and not all at the same time, so it's pretty much random where the windows will end up.

I would really like this script to work, as my employer bought the cheapest possible dual-monitor KVM and it causes a bug that when switching between computers all the open windows swap sides.
May 18, 2015 (modified May 18, 2015)  • #21
Keith Lammers (BFS)'s profile on WallpaperFusion.com
How many monitors do you have? Also, do you just want to swap the top-most windows, or all open windows between monitors?
May 20, 2015  • #22
User Image
Lum
42 discussion posts
2 monitors. I want to swap all windows, not just topmost.
May 20, 2015  • #23
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ah ok, for that you'll want to use the "Move All Windows to Next Monitor" script, instead of the "Swap Topmost Windows on Monitors 1 and 2" script.
May 21, 2015  • #24
User Image
Lum
42 discussion posts
That is almost perfect. On my work computer it will actually be perfect.

Any idea how I might exclude one specific app from this function. For some reason the window-swap bug I have doesn't include Rainmeter when it swaps windows. I have no idea why other than it's not doing windows in the traditional sense, but instead putting gauges onto the desktop.
May 28, 2015  • #25
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Sure thing! What's the .exe name for Rainmeter? Is it just rainmeter.exe?
May 29, 2015  • #26
User Image
Lum
42 discussion posts
It is. I just couldn't figure out how to get a process name from a window handle.
Jun 1, 2015  • #27
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, could you give the attached script a try?
Jun 2, 2015  • #28
User Image
Lum
42 discussion posts
Didn't work, but gave me enough info to make it work. Ended up with

if (processPath != "C:\\Program Files\\Rainmeter\\Rainmeter.exe")

I have no idea why processPath.Contains didn't work. It should do in theory, but I'm not really familiar with C#

All this because work bought the cheapest KVM, *sigh*
Thank you for your help though. DisplayFusion saves the day, even if it really shouldn't have to :)
Jun 2, 2015 (modified Jun 2, 2015)  • #29
User Image
Lum
42 discussion posts
Spoke too soon.

It works once, then never works again until a reboot, and also prevents being able to launch displayfusion settings.

If you run it from the script editor, it works every time.
Jun 2, 2015  • #30
Keith Lammers (BFS)'s profile on WallpaperFusion.com
That's strange! After you've run it the first time, does it still show the tray icon in the tray for the running function, or does that disappear?
Jun 2, 2015  • #31
User Image
Lum
42 discussion posts
Systray icon never appears.

That said, I've disabled the Windows taskbar in favour of the displayfusion one.
Jun 6, 2015  • #32
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, weird! Could you send me a debug log?
  • On the Troubleshooting tab, change the Logging drop-down to "L1: Log Minimal"
  • Restart DisplayFusion
  • Reproduce the issue and note the time so we'll know where to check in the log file
  • Send us the DisplayFusion.log and DebugInfo.html files (can be found by clicking the Open Log button on the Troubleshooting tab)
  • Disable debug logging after sending the log
Jun 9, 2015  • #33
User Image
Lum
42 discussion posts
Sorry it took so long to reply.

Here's the log. I tried to run the script at 19:00 BST
• Attachment [protected]: DisplayFusionLogs.7z [47,676 bytes]
Jun 16, 2015  • #34
Keith Lammers (BFS)'s profile on WallpaperFusion.com
No worries! In the debug log I don't see any mention of the script being run. Would you be able to capture a debug log again, with both the successful first run, and then the failed second one in the same log?
Jun 17, 2015 (modified Jun 17, 2015)  • #35
User Image
Lum
42 discussion posts
The only way I can get the script to run is from the settings editor.

I wonder if it's just not being started when I run it from the jump list (I use the DF taskbar on both monitors, with the Windows one hidden). Once I'm at my home PC I'll give it another go.
Jun 18, 2015  • #36
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Oh, could be! If you try to run it via hotkey or TitleBar Button, does it work?
Jun 18, 2015  • #37
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)