Code:
function main(int clients)
{
while ${Sessions} < ${clients} - 1
waitframe
wait 100
variable int nSession
nSession:Set["${Session.Right[-2]}"]
run windowsnapper -norollover
run autolayout outer left
windowpos -viewable 0,0
windowsize -viewable 1680x1050
/* Setup Hotkeys */
switch ${nSession}
{
case 1
globalbind is${nSession}_key "Ctrl+F1" "windowvisibility foreground;relay all press Ctrl+F1"
proc 1 on 2 on 3 on 4 on
break
case 2
globalbind is${nSession}_key "Ctrl+F2" "windowvisibility foreground;relay all press Ctrl+F2"
proc 1 on 2 on 3 on 4 on
break
case 3
globalbind is${nSession}_key "Ctrl+F3" "windowvisibility foreground;relay all press Ctrl+F3"
proc 1 on 2 on 3 on 4 on
break
case 4
globalbind is${nSession}_key "Ctrl+F4" "windowvisibility foreground;relay all press Ctrl+F4"
proc 1 on 2 on 3 on 4 on
break
case 5
globalbind is${nSession}_key "Ctrl+F5" "windowvisibility foreground;relay all press Ctrl+F5"
proc 1 on 2 on 3 on 4 on
break
}
/* Launch Repeater */
run repeater
ui -load skins/wowskin/wowskin
ui -load -skin WoWSkin repeater
}
Connect With Us