Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

chaoscreater's profile on WallpaperFusion.com
Hi there,

Is it possible to restore or maximize the window of program B whenever the program A window session is closed?
Mar 31, 2020  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
You'd need a scripted function for that. Could you tell me what the window title is of program B, and the process name for program A?
Mar 31, 2020  • #2
chaoscreater's profile on WallpaperFusion.com
I don't have a specific example, but if you can create a template for me to use, I should be able to get it working on my end.
Apr 6, 2020  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, here's an example that either restores or maximizes Notepad when Paint closes. The scripted function will maximize Notepad if it's currently restored, and will restore it if it's currently maximized. The Trigger rule calls the scripted function when it sees that mspaint.exe has terminated.

Hope that helps!
• Attachment: Maximize_Restore Program B.dfscript [880 bytes]
• Attachment: TriggerRule.png [36,225 bytes]
TriggerRule.png
TriggerRule.png
Apr 6, 2020  • #4
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)