Search found 1578 matches

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: 26590

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: 6697

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: 6697

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: 6697

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: 3227

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: 13773

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...
by BruceSteers
Friday 31st July 2020 8:56am
Forum: General
Topic: Wav2mp3 (using serversocket for app to app control)
Replies: 13
Views: 13773

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

It would be nice to be able to double-click the created file and hear the outcome. So be it :) It now adds completed mp3s to a list and has a built in audio player using the Music class. I put in a volume control and would have put in a position control if the blummin music class showed how long an...
by BruceSteers
Thursday 30th July 2020 6:55pm
Forum: General
Topic: Wav2mp3 (using serversocket for app to app control)
Replies: 13
Views: 13773

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

Cool cheers I'll check that out. I figured how to do the same thing with a pipe last night, itried that first but got stuck.. I was stuck getting a pipe command to not hang the program until the pipe gets some input. Then i found a workaround setting a timer event to read the pipe but send it a sign...
by BruceSteers
Tuesday 28th July 2020 11:20pm
Forum: General
Topic: Wav2mp3 (using serversocket for app to app control)
Replies: 13
Views: 13773

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

Any views on how i've handled the multiple launching issue with the server socket? Re. selecting multiple files from desktop and selecting "Open with wav2mp3" made multiple instances of the app load instead of one with multiple args. I couldn't find any other way , i tried a pipe , but sen...
by BruceSteers
Tuesday 28th July 2020 10:26pm
Forum: General
Topic: Wav2mp3 (using serversocket for app to app control)
Replies: 13
Views: 13773

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

I tried , for ages and couldn't quite figure out how to merge the changes my friend, Sorry tried to get my head around how you were doing things but in the end i figured it'd be easier for me to do it the way i figured out last night. (i feel bad you wasted your time) So it's resizeable now (thanks ...