[Gambas-user] Gambas script gbs Application.Path Args
brian at westwoodsvcs.com
Tue Nov 3 13:05:23 CET 2020
Bruce the only other big thing for me was changing the current working directory.
If you do you need to do a class load for and classes you use before doing so or they won't load correctly.
Otherwise scripts in gambas are very useful tools.
Brian Monday, 02 November 2020, 02:15PM -08:00 from Bruce Steers bsteers4 at gmail.com :
>Absolutely brilliant Benoít , you are truly a star :)
>Loving it , Works exactly like a compiled exe would now.
>It opens up all sorts of additional possibilities with scripting :)
>I humbly applaud you and give much thanks.
>I'll be getting into much scripting now. I've been writing a simple text editor for writing/testing scripts and it uses the TextEditor and although it was written for bash scripting, sh mode lacks all those funky features the texteditor does when writing in gambas. So i'd prefer to write in gambas.
>Great work my good man :)
>On Mon, 2 Nov 2020 at 21:34, Benoît Minisini < g4mba5 at gmail.com> wrote:
>>Le 02/11/2020 à 21:41, Benoît Minisini a écrit :
> Le 02/11/2020 à 20:50, Bruce Steers a écrit :
>> the ultimate solution would be for a gambas script to report Args
>> and Application.Path as the launched script and not the compiled
>> temporary project.
> This is what I was talking about.
>>Done with the last commits.
>>----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>----[ http://gambaswiki.org/wiki/doc/netiquette ]----
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the User