--- In [email protected], Alan Martin <[EMAIL PROTECTED]> wrote:

Hi, Alan.

> You could try adding a Window Show command to your script which
> sends keystrokes, to focus the window before sending the keys.
> 
> Wait until anywindow("*SoftCAT*")
> Window.Show("*SoftCAT*")
> Wait for 250
> Keys {slow}+{tab}{w1}i
> ;; or try
> :: Keys {fast}+{tab}{w1}i

I suggest to use keys {to +...}, but '*cap*' format seems to not work
in this case so you may have to use only '*cap' or 'cap*' formats like:

; wait.for(anywindow("*SoftCAT*"))
Keys {to +*SoftCAT...}+{tab}{w1}i
; Keys {to +...SoftCAT*}+{tab}{w1}i

If the app window takes longer time than expected, you may have to
clear the comment before wait.for().

Sean




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/
 


Reply via email to