> It seems that PPro is sending *something* besides the keystroke I
> specified *before* it sends the keystroke I specified.
>
> Name: Extract here
> Cmd: [EMAIL PROTECTED](_file_)
>
> @extract_here
> if(activewindow("Total Co*")) do
> Keys {to Total Co*}{alt}{F9}
> Wait.Until(activewindow("Unpack*"))
> Keys {to Unpa*} {Tab}
> endif
>
> When the dialog comes up, the first textbox contains a path that is
> highlighted. When I run this, I can see the text disappear and then
> the focus changes to the next textbox.
Make sure that the Wait.until condition isn't true immediately after the
first *Keys. Powerpro makes the Wait.until (and wait.for) test VERY quickly
(10ms or less) which can evaluate as true before your first *Keys has time
to cause a change in the window state(s).
Also, you aren't releasing your Alt on the first command...might be causing
problems. Try:
Keys {to Total Co*}{alt}{F9}{alt}
Or
Keys {to Total Co*}%{F9}
David Troesch | Atlanta, GA | ICQ# 2333123
Using Outlook Express and want some color? http://tinyurl.com/39goy
Funstuff: If you don't talk to your cat about catnip, who will?
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/