> Unlike cl.getlastpressed which does take a command list argument,
> correct? So would this code work?


> ...
> menu.show("Bar")
> wait.for(not visiblewindow("Bar")) // tested, it works
> sel=getlastmenusel

The above _will_ work.  The key is that you have _not_ tried to ask 
which menu. 


> cmd=cl.getleftcmd(cl.getlastbar,sel)++" "++;;+
>         cl.getleftparam(cl.getlastbar,sel)
> // or substitute "Bar" for cl.getlastbar above

The above would also work as is or with getlastbar changed to 
getlastmenu.


> ...
> do( cmd )
> 
> 
> BTW, I wanted to use cl.runleft(Bar,sel) instead of do( cmd ) but 
it
> always crashed PowerPro. I suspect that's because I edited my 
Bar .ini
> file and merged LCmd1 + LParam1 into a single LCmd1 line.

If you merge LCMD1 and Lparam1 it looks to PowerPro like you have a 
command file name with blanks, instead of a command with parameter.

When you say "crash", do you mean an error message or an actual 
crash.  If a crash, can you post the do a win.debug of the do 
parameters, then a Messagebox of anythig (to get a pause to read the 
debug before the crash) and let me know what win.debug is saying 
input to do is.




>






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