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
HTHawks
2 discussion posts
Since this is practically my first post, the first thing I wish to do is thank the developers and staff, and community for this delightful project and product ...thank you.

I am trying out DisplayFusion with the following limitations...
- Win7 64-bit, DF version 9.9 -
...so I have been tweaking around with some of the function scripts to see how I may be able to tame it enough for serving me in my environment.

Problem/Challenge: I would like to save the Z-Order of Windows (specified Window Groups) when saving window positions ...which I understand is not directly possible.

I have messed around a bit (green-horn style) with scripts from Keith Lammers, diceblue96915, Thomas Malloch (and perhaps some others -thank you folks!) ...for Swapping Windows in various states between monitors ...KEEPING THE Z-ORDER ...and finally got that licked in spite of limitations in the depracated BFS framework available on my platform (or whatever the limitation actually may be - it may be the older DF App, I do not know enough to really know).

WHAT I WANT TO KNOW IS....
...how might it be possible, using a script (some script code snippet and method), after looping through the targetted windows and parsing out their info for the Monitor Swap of a selection of windows, which parses the z-order along with postions ...to SAVE THAT for REUSE LATER?
Envisioned Procedure: I would call the script for iterating a targetted group of windows (I know how to do that), SAVING the Z-Order with their positions (don't know how to save that). THEN LATER, when the positions get all screwed up (inevitable/inescapable reality), I would like to call a Script employing that data, for Restoring those Windows along with that Z-Order.

If anyone has any ideas how to approach this problem, I am eager to hear your ideas.

Thank you very much.
R Twohawks
20 days ago  • #1
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Thanks for the kind words!

We'll see if we can come up with something here and let you know.
18 days ago  • #2
Thomas Malloch (BFS)'s profile on WallpaperFusion.com
I've attached two scripts below that should do this. You can import them via the DisplayFusion Settings > Functions > Scripted Function > Import Scripted Function.

These scripts save and restore the window positions and z order by their handles, so the scripts won't work between restarts, or if the window gets destroyed and recreated (ie closing and reopening a program).
• Attachment: Restore Window Positions and ZOrder.dfscript [8,153 bytes]
• Attachment: Save Window Positions and Z-Order.dfscript [5,919 bytes]
8 days ago (modified 8 days ago)  • #3
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)