1 of 1 people found this helpful
This isn't hard to do. First set a couple of variables. Not really required but it makes things a little easier to read...
$sh = get(screenHeight)
$sw = get(screenWidth)
$wh = get(windowHeight)
$ww = get(windowWidth)
Then use the move/resize window script to move the window. Set the top to ($sh - $wh)/2 and set the left to ($sw - $ww)/2.
Sorry for the crappy formatting, this forum does not play well with my iPad.