Can I maintain the layout/focus of my world windows through scripting?

Posted by VBMeireles on Mon 16 Dec 2013 01:08 PM — 2 posts, 12,651 views.

Brazil #0
I want to have two world windows opened simultaneously (for a chat redirection) and tiled vertically, always. I also want the focus to always be on the primary world window.

Can I use scripting to change the focus back to the primary window if it ever loses focus? Can I script something that will automatically and immediately set the windows back to being tiled vertically whenever I mess with them (move, minimize or resize)?

How would be the simplest way to implement those?
Australia Forum Administrator #1
Template:function=Activate
Activate

The documentation for the Activate script function is available online. It is also in the MUSHclient help file.



There is also a script callback for when you lose the focus.

http://www.gammon.com.au/scripts/doc.php?dialog=IDD_PREFS_P17