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


> so far, the script was always triggered correctly. so, even if the 
> if's are not quite save programming (I am long past my ASM, PL51, 
> nibble-level programming skills), so far it worked. but you are 
> right, I should make the if's foolproof.


PowerPro's syntax is peculiar, so past languages would tend to mislead.

Just to be clear:  the script is started by autorun, it appears, and 
that will work.  However, it seems that the first thing the script 
does it make sure that window class is a dialog.  If that check fails, 
the keys will be _still_ be sent.  If there is a chance that the 
autorun could trigger a non-dialog window, the keys will be sent to 
that window.







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