--- In [email protected], "edbj" <e...@...> wrote:
>
> I'm having trouble positioning a window. The script code is:
> 
> Do("G:/Program Files/FLIR Systems/ATS-US/ExaminIR BETA/ExaminIR.exe")
> wait.for (activewindow("=ExaminIR"))
> Window.Position("0", "155", "920", "800", "=ExaminIR")
> 
> No matter what screen coordinates I supply, the window opens at its 
> last-open-position. Anyone see anything wrong with the above?

First, if there are multiple visible windows "=xxx" will select the first.  Can 
you select the window by caption.

Second possibility:  PowerPro cannot force a window to move.  It can only send 
a message asking the window to move.  The window may ignore the message or it 
may decide to move again later.  Try experimenting with different wait's if 
changing =xxx does not help.
>


Reply via email to