Re: Re: New Gui4Cli release (request)

"Dimitris Keletsekis [email protected] [gui4cli]" <[email protected]> Wed, 23 Jul 2014 12:23:10 +0300
Newsgroups gmane.comp.windows.gui4cli
Message-ID <CAHiKg1V2KjXyArA3S6c0ut4HcpVkqMoOSgyRWYDhyt+QC=+H5A@mail.gmail.com>
Hi Chris,

Thanks for the feedback.

$$this.path is the path that the gui that contains it is in.

The path of gui4cli.exe is the HOME: assign.

If the gui4cli.exe you are running is different from the installed one (ie
in script exes etc), the path of the installed gui4cli (if there is one
installed) is in the INSTALL: assign.

To get the actual path from the assigns, you can do:

v = "HOME:"
extract v fullpath

Dimitris



On Tue, Jul 22, 2014 at 10:01 AM, [email protected] [gui4cli] <
[email protected]> wrote:

>
>
> Hi Dimitris,
>
> > Will put the text of the current item of an xEdbox into a variable.
>
> Thanks for the explanation!
>
> Checked things out on Windows 7 with g4c 19.40
>
> All 'extract EXT/NOEXT' calls in my scripts are now locally done by g4c
> and I didn't find any issues. The whole application works like before.
>
> Also looks like your changes in 19.40 do not introduce any new issues :)
>
> I still run the final Avanti (g4c) executable on nine different paths and
> even added
> a test on a non-admin and guest account.
>
> Unfortunately the issue with parsing the main script at launch isn't
> solved although
> things are a bit more stable because I removed an old cd command that
> changed
> the directory to other than the applications home. Since Win7 seems to
> behave
> different with paths comapared to XP.
> I also put in a 'cd $$this.path' at several critical places where I expect
> win7 may
> change it. I assume $$this.path is always the g4c location. Am I right?
>
> About the script parsing; where I first thought that the event position in
> the script
> is critical and shifting the event start solved it more or less, I now
> found out that
> simply adding a large block of dummy comments at the end of the script also
> reduces the issue.
>
> One could think of memory corruption in some way but then I would expect
> g4c to crash. It never crashes however, it just stops without any message?
>
> Anyway, version 19.40 acts just as stable as 19.39 and offers a number of
> useful additions. Reason enough to switch over to it for my next Avanti
> version.
>
> Thanks,
>
> Chris
>
>
>
> ---In [email protected], <gui4cli@...> wrote :
>
>
> - Added EDBOX GET VariableName - will the a variable to the current
> xEdbox's contents.
>
>
> Will put the text of the current item of an xEdbox into a variable.
>
> Of course the treeview additions look very useful but I must confess that
> I have little
> experience with treeviews.
>
>
> I use them mainly for my "file explorer". They're like listviews, but each
> line has a listview of its own.
>
> Dimitris
>
>  
>