? > > > > You can do this with sa and xs or with xmouse, ymouse saved and then > > win.setcursor.
Sorry, meant mouseto. setcursor is the windows api. > > > > application. Only causes interference when the script has been > launched from a bar button. When you click a button, PowerPro gets the focus. Its tries to switch it back, but only to the main window that had the focus before. Some apps don't remember the child window, so when they get the focus back, they don't reset the right child window. win.setpreviousfocus(0) will stop the focus reset, but I don't think that will help. > > Don't know what sa and xs are? should have been sa and rs; both can be used in win.sendmouse. sa saves mouse pos and rs restores. But I doubt it will change what xmouse, ymouse with reset through mouseto did. Probably no solution to this if the problem is as I suspect and described above and you launch from bar button.
