> local hwnd=win.handle("active")
> // replace xx, yy by coordinates on screen you want window to move to
> win.move(hwnd,xx, yy)
>

To complete Bruce response,
For extended desktop, windows manage dimension as :
0,0 Xmax, Ymax (principal screen)

For second screen, the 0,0,XMax2,YMax2 "is moved" depending your
configuration.... you can see the translation done in the desk.cpl
last tab clicking on the desired screen.
Basically  
-XMax2,0  for Left
+XMax,0 for right
0,-YMax2 for Top   ....

(Some measure can be rounded ex 1050 -> 1048 )    

Reply via email to