> > I've got the following small script:
> >
> > aw_han=win.getfocus()
> > pw_han=win.parent(aw_han)
> > *TrayIcon Right =AmP
> > *Keys {left}{up}{up}{up}{enter}
> > wait.for(1500,activewindow("=AmP"))
>
> There is no difference betweem more commands and file script that
> would affect above.
>
> Wait works in more commands in my tests: try something like
> debug one
> More commands:
> wait(...)
> debug two
>
> I suspect the issue above is that the wait is in the wrong place.
> Wait _before_ sending keys to let the window that you are presumably
> activating by the trayicon command open and activate.
>
Thanks Bruce,
you gave me a helpful tip - finally i could figure it out. Meanwhile i
noticed, that even in the file-script it didn't work allways. I
changed the wait.for from "=application" to "*windowtitle*" to make
sure Powerpro waits for the right window and not for any window of the
application. So it works now, but just to be sure and for my
understanding: where can i find informations about the processing-
sequence of PowerPro-commands especially about asynchronous/
synchronous, because for me it seems, that the *keys-command is
processed asynchronously.
br dele
------------------------ Yahoo! Groups Sponsor --------------------~-->
Great things are happening at Yahoo! Groups. See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~->
Attention: PowerPro's Web site has moved: http://www.ppro.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/