> ------------------------------------------
> If(Win.Class("AutoRun")
> == "#32770")
> If(Win.ChildTextByIndex("AutoRun", 1) == "SomeWindowName")
> *Keys {sinp}{to autorun}%pSecretPassword{enter}
> 

The above pair of ifs followed by *Keys does not work the way you 
might think it does.  If the first if is false, the keys _is_ 
executed.  This might be a cause of your issue.

In PowerPro, an if without a do controls only the next line.  It skips 
the next line if the if condition is false.  So in the above case, if 
the autorun window is not a dialog, the next  line -- if -- is skipped 
and the keys is executed.

On the other hand, I cannot explain why the keys shows a syntax error 
for you unless you have an old version of PowerPro without {sinp}.









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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/power-pro/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> 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