Heading to bed now, but have almost ironed out my multi.iss for having 3, 4 or 5 clients lined up the right of the screen and the Snap To window on the large left section. The only problem I have is setting the windowsize -viewable parameters. I can't get the syntax write to make the size (1920-nXsize)x1200...
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
nVertSplit:Set["${Sessions}+1"]
nXsize:Set["1920/${nVertSplit}"]
nYsize:Set["1200/${nVertSplit}"]
nXpos:Set["1920-${Xsize}"]
nYpos:Set["(${nSession}-1)*${nYsize}"]
run windowsnapper -pos ${nXpos},${nYpos} -size ${nXsize}x${nYsize}
windowpos -viewable 0,0
windowsize -viewable ${nXpos}x1200
Thats what I've got... everything else works fine if I put a value in for windowsize -viewable but I can't get it to work with a variable parameter. As you can probably tell, I have never coded before :P
Connect With Us