This script adds a couple nice additions to the Next Monitor action. It restores the window first (in case it's maximized), which is nice if you have two monitors with different resolutions. Then sends it to the next monitor, maximizes and activates it, and finally moves the mouse cursor to be in the center of the screen to which the window was sent.
local wnd = acGetOwnerWindowByPoint(gsx, gsy) acRestoreWindow(wnd,0,0) acSendWindowToNextMonitor(wnd,0,0) acMaximizeWindow(wnd,0,0) acActivateWindow(wnd,0,0) local newX = (acGetWindowLeft(wnd,0,0)+acGetWindowRight(wnd,0,0)) / 2 local newY = (acGetWindowBottom(wnd,0,0)+acGetWindowTop(wnd,0,0)) / 2 acMouseMove(newX, newY) |