Bruce, Ed Jay here. Can you remember back about 20+ years? Glad to see we're
both still chugging along. (I tried sending you an email, but it bounced.)
> > I'm having trouble positioning a window.
> > wait.for (activewindow("=ExaminIR"))
> > Window.Position("0", "155", "920", "800", "=ExaminIR")
> >
> First, if there are multiple visible windows "=xxx" will select the first.
Understood. The problem was that an instance of Opera while thought to be
terminated, remained an active, but invisible process. Problem resolved.
>Can you select the window by caption.
>
I'm having difficulty recognizing captions. I'm titling different HTML pages
with descriptive names, e.g., 'Initialize,' 'Login,' etc., and trying to
trigger a command based on the resulting caption. To wit:
wait.for (activewindow("=brth"))
Window.Position("485", "350", "950", "293", "=brth")
If (anywindow("*Initialize*"))
bar.show(brsys_register)
if (activewindow("*Login*"))
bar.show("brsys_login")
In both of these instances, the Opera captions are the page titles, but PP
doesn't act on them. I've tried 'if(caption) Do bar.show endif, and every other
variation I could think of, to no avail. Where have I gone wrong?
Again, Bruce, it's great to see that we're both still around and active. - Ed