It is a filename that will be passed.
Putting this code &((au3.StatusbarGetText("[ACTIVE]", "", 2)))
on the Command Parameter Line works, I just need surrounding quotes
now.
Thanks Sheri
filename
--- In [email protected], "Sheri" <sheri...@...> wrote:
>
> --- In [email protected], "majesticartz" <majesticartz@>
wrote:
> >
> > I have a command I'm interested in using;
> >
> > Notepad.exe (au3.StatusbarGetText("[ACTIVE]", "", 2))
> >
> > Is this possible?
> >
>
> Are you asking how to get the result into Notepad? Because AFAIK the
> only command parameter Notepad takes is a file name. Is a file name
> expected to be returned from the au3 statusbargettext function?
>
> You could put the result on the clipboard or in a variable and paste
> it into Notepad. The capturing, opening Notepad, and pasting could
be
> automated.
>
> Or if it is a filename, you could capture it to a variable, test to
> make sure its a validpath, and then use it as a parameter to opening
> notepad.exe in a do statement. You could try using eval(expression)
to
> bypass using a variable, but that would probably be trickier to get
> the quoting right and not be as easily pre-tested to ensure you got
a
> valid file. Ditto for putting it the evaluated result directly in
the
> parameter area of a command blank in pproconf using &(expression).
>
> Regards,
> Sheri
>