So, did some testing and here are the results:
Region-Switching
As Freddie suggested canceling the redraw before resizing/positioning and a better order of my commands results in a performance gain.
I optimized my script, so that the following is done if I want the Window of WoWX on my big main region (region1):
1. Resize and Reposition WoWX in region1, and give it the focus
2. Turn redraw off, for all other windows (without focusing them)
3. Resize and Reposition all windows that ar not WoWX (without focusing them)
4. Turn redraw on and update all windows that ar not WoWX (without focusing them)
Thie result of this order is, that the Window i want to play activ, which should be displayed in region1 is switched very fast (first), so you can move with the active toon leading, and after that the other 'slaves' are configured.
The result is, that it feels more like only a second, till you can play the active toon instead of the 2-3 seconds i mentioned before.
For the interrested here the hotkeynet code:
Code:
<Command ResizeAndPosition>
<SendPC Local>
<SendWin %1%>
<SetWinRedraw off>
<SetWinSize 1280 980>
<SetWinPos 0 0>
<SetWinRedraw on>
<UpdateWin>
<SendWinM %2%><SetWinRedraw off>
<SendWinM %3%><SetWinRedraw off>
<SendWinM %4%><SetWinRedraw off>
<SendWinM %5%><SetWinRedraw off>
<SetWinSize 640 512>
<SetWinPos 1920 512>
<SendWinM %2%>
<SetWinSize 640 512>
<SetWinPos 1280 0>
<SendWinM %3%>
<SetWinSize 640 512>
<SetWinPos 1280 512>
<SendWinM %4%>
<SetWinSize 640 512>
<SetWinPos 1920 0>
<SetWinRedraw on>
<UpdateWin>
<SendWinM %2%><SetWinRedraw on><UpdateWin>
<SendWinM %3%><SetWinRedraw on><UpdateWin>
<SendWinM %5%><SetWinRedraw on><UpdateWin>
<Hotkey F1><ResizeAndPosition WoW1 WoW2 WoW3 WoW4 WoW5>
<Hotkey F2><ResizeAndPosition WoW2 WoW1 WoW3 WoW4 WoW5>
<Hotkey F3><ResizeAndPosition WoW3 WoW2 WoW1 WoW4 WoW5>
<Hotkey F4><ResizeAndPosition WoW4 WoW2 WoW3 WoW1 WoW5>
<Hotkey F5><ResizeAndPosition WoW5 WoW2 WoW3 WoW4 WoW1>