brucexs wrote:
> I am not sure I understand, but I will do these for you.
Thank you. If you want to take a look at my prototype before diving into
an implementation, I can upload it to the board.
> However,
> note that getlastmenusel will always be with respect to last shown
> menu; it will _not_ be able to track the last selection by command
> list.
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
cmd=cl.getleftcmd(cl.getlastbar,sel)++" "++;;+
cl.getleftparam(cl.getlastbar,sel)
// or substitute "Bar" for cl.getlastbar above
...
do( cmd )
This code runs a menu selection twice, first in menu.show() then
in do() -- but my script initializes variables so that left command in
menu.show doesn't do anything, and all action takes place in do() where
I have complete control.
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.
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/