Let me start by saying I have not had an opportunity to play with this yet, and probably wont for a least a few weeks due to a busy schedule. Having said that,
AWESOME, THANKS NICK!!!!
I've been badgering for a multicolor status window for years!
Going on what I've read here, the main thing I'd like is full user control of where the miniwindows sit and what dimensions the miniwindows have, at least as an option. Perhaps this is currently do-able via script (much the same way as I open several notepad windows now and position them alongside my world window, which I use for tells, spell status, and various other bits of info), however I got the impression from this thread that the position is entirely automated and I have liitle control where the miniwindow appears, which to me just doesn't sound right.
The miniwindow create/move/resize info page ( http://www.gammon.com.au/mushclient/mw_creation.htm ) seems to say we can only choose which corner of the output window the miniwindow sits (or else centers at the right, top, left, or bottom side of the output window)..
Actually I might be wrong here.. I CAN specify the 'internal' dimensions of the miniwindow itself, so as long as the miniwindow itself is positioned in one of those 8 primary positions, I should be ok..
For example, when I open a world right now, I run a script 'world_open':
sub world_open
MoveMainWindow 0, 0, 1050, 995
world.SendToNotepad "STATUS", "status window generated.."
NotepadFont "STATUS", "WhiteRabbit", 9, 0, 0
NotepadColour "STATUS", "#FAEBD7", "#000000"
MoveNotepadWindow "STATUS", 705, 0, 333, 675
world.SendToNotepad "COMMS", "communications window generated.."
NotepadFont "COMMS", "Verdana", 8, 0, 0
NotepadColour "COMMS", "#FAEBD7", "#000000"
MoveNotepadWindow "COMMS", 705, 675, 333, 245
MoveWorldWindow 0, 0, 705, 920
AddTimer "resize_my_world", 0, 0, 0.5, "MoveWorldWindow 0, 0, 705, 920", 5 + 32, ""
SetTimerOption "resize_my_world", "send_to", 12
world.ReplaceNotepad "STATUS",""
world.ReplaceNotepad "COMMS",""
end sub
This resizes MUSHclient itself, creates the 2 notepad windows to the right of my output window which combined equal the full height of the output window, and repositions the output window if for some reason I had previously had it manually resized.. (there's some additional code there that is there for other reasons).
So I guess I just need to add the width of the notepad windows above onto my existing output window, then create miniwindows, one positioned top right, one positioned bottom right, with the internal dimensions that can be easily calculated taken from the above script..
Correct? |