--- In [email protected], sgp acs322000 <[EMAIL PROTECTED]> wrote:
>
> swzoh wrote:
>
> > win.keys("{to c=progman}{apps}{w1}w")
>
> thanks!  works fine. I tweaked it to
>
> win.keys("{to c=progman}{right}^{space}{apps}{w1}w")
>
> to ensure that no desktop icon is selected when {apps} is pressed,
> otherwise you'll get the icon's right-click menu.
>
> Now I can get the menu but I don't know how to wait - in the batch
file - for
> the user to complete the menu selection, because powerpro will return
> immediately after displaying the menu. Any suggestions? For the moment,
> I put a long sleep in the batch file right after calling powerpro

Use either
wait.for(not anywindow "c=#32768")
or
wait.for(win.exename("c=#32768")!="explorer")

Sean





Attention: PowerPro's Web site has moved: http://www.ppro.org



SPONSORED LINKS
Computer monitoring software Power pro Computer and internet software
Free computer monitoring software


YAHOO! GROUPS LINKS




Reply via email to