I want to know if it is possible to rotate a window a number of degrees (will be with mouse wheel in future). I found a script to rotate a window around the mouse, but it doesn't actually rotate the window, the window just revolves around the point.
Global Const $pi = 3.14159265358979
$iCircleR = 20; <=== Edit this for different circle radius (in pixels)
$iCircleD = $iCircleR * 2