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
Chris Rotter
129 discussion posts
I've created a function whereas I want a keyboard short-cut to minimizes the other screen active window regardless what screen is the active window. Unfortunately the function actions available have no such option ?
Apr 15, 2018  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
This should be possible with a Scripted Function. We'll try to write up an example this week :)
Apr 17, 2018  • #2
User Image
Chris Rotter
129 discussion posts
Thanks :)
Apr 18, 2018  • #3
Thomas Malloch (BFS)'s profile on WallpaperFusion.com
I put together a Scripted Function that should work for you. Here's how to set it up:

  • On the DisplayFusion Settings > Functions tab, click the "Download Scripted" button
  • Double-click the script named "Minimize Topmost Windows on Non-Current Monitors"
  • Add "System.Core.dll" to the references field (see the attached image for details)
  • 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

I hope this works for you!
• Attachment: references.png [6,928 bytes]
references.png
references.png
Apr 20, 2018  • #4
User Image
Chris Rotter
129 discussion posts
How about reversing ? ;) In other words, I can restore the top most window that was minimized.
Apr 22, 2018  • #5
Keith Lammers (BFS)'s profile on WallpaperFusion.com
That's not really possible, as there are too many edge cases where that wouldn't work. Windows doesn't keep track of the z-order once stuff is minimized, so if you had multiple minimized windows, there's no way to know which one to restore.

The script could remember which one it last minimized maybe, but if you run the minimize script twice, which window would you want restored?
Apr 23, 2018  • #6
User Image
Chris Rotter
129 discussion posts
If it can restore the last minimized window, and that last minimized window changes then you're prompt which of the minimized windows you want to restore; otherwise if the last minimized window changes then the connection breaks ?
Apr 23, 2018  • #7
Keith Lammers (BFS)'s profile on WallpaperFusion.com
It would have to keep a log of every window that gets minimized using the function, and then clean it up and stuff, which would get messy pretty fast.

What we probably could do is just make it remember the last windows, and it would be a toggle. Run it once, it minimizes the windows, run it a second time, it restores them. Would that work for you?
Apr 27, 2018  • #8
User Image
Chris Rotter
129 discussion posts
Quote:
What we probably could do is just make it remember the last windows, and it would be a toggle. Run it once, it minimizes the windows, run it a second time, it restores them. Would that work for you?


Yes, that would work.
May 1, 2018  • #9
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Awesome. Thomas just posted an update to the Scripted Function. Could you try downloading it again and see if that works for you?
May 4, 2018  • #10
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(1)  Login to Vote(-)