Search found 1582 matches

by BruceSteers
Wednesday 26th August 2020 11:01pm
Forum: Project showcase
Topic: GForm , zenity like gui maker for shell scripts using pipe to talk to script.
Replies: 10
Views: 26670

Re: GForm , zenity like gui maker for shell scripts using pipe to talk to script.

Further Updated now... Lots of tweaking , more options added. Big change in the pipe reading routine. I found using the timer method to echo the pipe was occasionally missing messages somehow so was looking into it. then finally i figured out the pipes 'Watch' option and using the File_Read() event ...
by BruceSteers
Saturday 22nd August 2020 7:26pm
Forum: Project showcase
Topic: GForm , zenity like gui maker for shell scripts using pipe to talk to script.
Replies: 10
Views: 26670

Re: GForm , zenity like gui maker for shell scripts using pipe to talk to script.

Source code is getting more complex now. :roll: Added lots of new features. Gave it a home on git. https://github.com/BruceSteers/GForm Here's the current arg list , my how it's grown..... currently supported objects are... Button, ToggleButton, TextBox (InputBox), CheckBox, ListBox, DirBox, FontBox...
by BruceSteers
Thursday 20th August 2020 4:16pm
Forum: Project showcase
Topic: GForm , zenity like gui maker for shell scripts using pipe to talk to script.
Replies: 10
Views: 26670

Re: GForm , zenity like gui maker for shell scripts using pipe to talk to script.

Here's an update... Arguments are.... (Runtime args when launching GForm) title="Title for window top" width=<n> , manually define a window width box , makes a Horizontal box, subsequent objects go in the box until unboxed unbox , finishes the box button="name|text|close" , makes...
by BruceSteers
Thursday 20th August 2020 2:00pm
Forum: Project showcase
Topic: GForm , zenity like gui maker for shell scripts using pipe to talk to script.
Replies: 10
Views: 26670

Re: GForm , zenity like gui maker for shell scripts using pipe to talk to script.

Hi Cool. I've made some additions already like now it also has an incoming pipe. So the gui can talk to the script about events and the script can send command to the gui too. I've got a working example here that the script can change text fields and list indexes and stuff. Like I say it's a way to ...
by BruceSteers
Wednesday 19th August 2020 1:05am
Forum: Project showcase
Topic: GForm , zenity like gui maker for shell scripts using pipe to talk to script.
Replies: 10
Views: 26670

GForm , zenity like gui maker for shell scripts using pipe to talk to script.

Pre Note... All uploads except the latest version of this app i uploaded to this thread i've deleted. for one i was having a problem with my executable files being too large because of things i had in the source dir so they were wasting Gambas ones storage space. Plus i think people may download the...
by BruceSteers
Sunday 16th August 2020 9:46pm
Forum: General
Topic: Terminal with Shell
Replies: 7
Views: 6699

Re: Terminal with Shell

Happy to set you all on the right path 😉

Ps. Another way to get your forms to close properly is simply put 'Quit 0' at the end of your form_close procedure. That will kill any lingering unwanted processes on exit 😎
by BruceSteers
Sunday 16th August 2020 5:40pm
Forum: General
Topic: Terminal with Shell
Replies: 7
Views: 6699

Re: Terminal with Shell

aah lol , yeah don't forget the return key \n :D Nice code Cogier :) You get the gist I hope. Knowing what the terminal view is actually doing internally (idle or not) while it has an active shell in it seems limited but we can monitor the process.status of whether the shell is active. so trailing y...
by BruceSteers
Sunday 16th August 2020 11:17am
Forum: General
Topic: Terminal with Shell
Replies: 7
Views: 6699

Re: Terminal with Shell

I found the way to use Terminal view like that was to use the Process.State to see if it's active. I also had a job getting standard commands to do anything with the Shell or Exec methods. Only got it to work by first issuing it the 'bash' command, then Input my command followed by ;exit then a shel...
by BruceSteers
Friday 7th August 2020 4:49pm
Forum: Project showcase
Topic: Sudo relauncher class (using pkexec)
Replies: 1
Views: 3231

Sudo relauncher class (using pkexec)

Hi. I've been writing a class based on something my pkAppMan application does... As it loads it checks the pkexec policy list to see if '/usr/bin/gbr3' is in it. if not run as root and gbr3 is not in pkexec list then it displays a message telling the user to run the application from a shell as root ...
by BruceSteers
Monday 3rd August 2020 11:45am
Forum: General
Topic: Wav2mp3 (using serversocket for app to app control)
Replies: 13
Views: 13795

Re: Wav2mp3 (using serversocket for app to app control)

Updated... Now you can drag-n-drop audio files onto app (Main window or terminal) to add them to the queue. Also added options to hide the main window and just show the terminal when run with args. also added option for it ask to confirm/change output directory on the first file. Haven't tested it f...