For those interested, the scripts I am using:
wow.iss - used to launch wows with the command "run wow #" where # is the number of wows you want...
Code:
function main(int clients)
{
variable int Count
for (Count:Set[0] ; ${Count}<${clients} ; Count:Inc)
{
open "World of Warcraft" "World of Warcraft Default Profile" "run multi ${clients}"
/* Wait 2 seconds (wait takes tenths of seconds) */
wait 20
}
}
multi.iss - Used to setup each client to it's own region, similar to KeyClones PIP except you leave gaps in the layout, I'll be seeing what I can do to change this, however I'm actually liking the 100% relative positioning as my keybinds on my x-keys can match it.
Code:
function main(int clients)
{
while ${Sessions} < ${clients} - 1
waitframe
variable int nSession
nSession:Set["${Session.Right[-2]}"]
variable int nXsize
variable int nYsize
variable int nXpos
variable int nYpos
variable int nVertSplit
if ${Sessions} > 3
{
nVertSplit:Set["4"]
}
else
{
nVertSplit:Set["${Sessions}+1"]
}
nXsize:Set["10*(${Math.Calc["1024/${nVertSplit}*1.6/10"].Int})"]
nYsize:Set["${nXsize}/1.6"]
if ${nSession} <= 4
{
nXpos:Set["0-${nXsize}"]
nYpos:Set["(${nSession}-1)*${nYsize}"]
}
else
{
nXpos:Set["0-${nXsize}*2"]
nYpos:Set["(${nSession}-5)*${nYsize}"]
}
run windowsnapper -pos ${nXpos},${nYpos} -size ${nXsize}x${nYsize}
windowpos -viewable 0,0
windowsize -viewable 1680x1050
/* Setup Hotkeys up to 10 clients*/
if ${nSession} <= 10
globalbind is${nSession}_key "Ctrl+F${nSession}" "windowvisibility foreground;relay all press Ctrl+F${nSession}"
/* Setup processor affinity up to 10 clients's*/
if ${nSession} < 4
{
proc ${nSession} only ${Math.Calc["${nSession}+1"]} on
}
else if ${nSession} == 4 or ${nSession} == 9
{
proc 1 only 4 on
}
else if ${nSession} == 5 or ${nSession} == 10
{
proc 1 on 2 on 3 on 4 on
}
else if ${nSession} < 10
{
proc ${Math.Calc["${nSession}-5"]} only ${Math.Calc["${nSession}-4"]} on
}
}
The only other file used is the windowsnapper.iss from Lavishsoft.
http://www.lavishsoft.com/joomla/ind...d=43&Itemid=91
Connect With Us