Sheri" wrote:
> Not sure I understand the question.
> If the edit box entry is a file name, you can "do" the entry:
>
> do(cl.GetCtrlValue(cl.getLastBar(),cl.GetLastPressed(cl.GetLastBar())))
First let me answer that one.
I have a test list called "edit_"
name: *control edit left autohscroll autofile clientedge
before you replied, I had the following in the command field:
exec.explorer("*")
so, if I typed "c:\windows\" it'd open that folder but wouldn't do nothing if I
typed "c:\windows\regedit.exe" hence my question...
But I have it working now with:
do(cl.GetCtrlValue("edit_","exec"))
I had read the help file but that didn't helped me to understand that I just
needed the "do" before those.
Thanks!
Now, my other question:
In the case above, I'm using autocomplete to launch something but what I want
to do, is have an edit button act as a run box, so if I use autocomplete it
execs whatever is in the field and if I type PowerPro commands or alias defined
in the PATH it execs those too.
To resume:
. process autocomplete
. process PowerPro commands
. process alias PATH
That's why I asked if it could act as the PowerPro Tiny Run command line.
If I use:
exec.commandline(cl.getctrlvalue("edit_","exec"))
nothing happens.