Search found 1601 matches

by BruceSteers
Saturday 25th May 2024 12:45am
Forum: General
Topic: Viewing bash/php scripts in real time
Replies: 10
Views: 133

Re: Viewing bash/php scripts in real time

Another option could be to use a TerminalView not a TextArea you could then just run the script in the terminalview and see the normal terminal output.


Dim p as Process
p = TerminalView1.Shell("my/command")

While p.state = Process.Running
  Wait 0.1
Wend

by BruceSteers
Friday 24th May 2024 10:23pm
Forum: General
Topic: Viewing bash/php scripts in real time
Replies: 10
Views: 133

Re: Viewing bash/php scripts in real time

Oops sorry use Input not Output hProc = Shell "/path/to/bash_script" For Input As "PROC" :lol: no prob. works now. Another question though...how much data can be input into a textarea component? In some of my tests, there appears to be a clear limit as it ends up crashing the ap...
by BruceSteers
Friday 24th May 2024 8:47pm
Forum: General
Topic: Viewing bash/php scripts in real time
Replies: 10
Views: 133

Re: Viewing bash/php scripts in real time

Oops sorry use Input not Output

hProc = Shell "/path/to/bash_script" For Input As "PROC"
by BruceSteers
Friday 24th May 2024 8:17pm
Forum: General
Topic: Viewing bash/php scripts in real time
Replies: 10
Views: 133

Re: Viewing bash/php scripts in real time

Okay (edited) Private hProc As Process Public Sub RunScript() hProc = Shell "/path/to/bash_script" For Input As "PROC" End Public Sub PROC_Read() Dim sOutput As String sOutput = Read #Last, Lof(Last) TextArea1.Insert(sOutput) TextArea1.EnsureVisible End
by BruceSteers
Friday 24th May 2024 7:50pm
Forum: General
Topic: Viewing bash/php scripts in real time
Replies: 10
Views: 133

Re: Viewing bash/php scripts in real time

Hi All, I have a project that I've been working for awhile that consists of a main bash script that does several things in order including calling a few php scripts (database stuff) and a few Linux commands (find and comm) and then the script ends and I have a nice chunk of data to either ignore or...
by BruceSteers
Thursday 23rd May 2024 11:06am
Forum: Project showcase
Topic: Germinal - a terminal with some potential
Replies: 9
Views: 3764

Re: Germinal - a terminal with some potential

Improvements in V1.0.13

Custom command menu now supports sub-menus and pictures.

and a treeview to view/edit the order (drag-n-drop)

Picture of the custom command editor..
Untitled.png
Untitled.png (91 KiB) Viewed 71 times
by BruceSteers
Monday 20th May 2024 10:11am
Forum: General
Topic: DirView question
Replies: 2
Views: 106

Re: DirView question

Have found DirView a handy way of displaying directories. Is there a way to select (in code) a particular directory in the display? Yes by accessing the Dirview's internal TreeView object Public Sub Form_Open() DirView1.ShowHidden = True SelectDir(User.home &/ ".config", DirView1) End...
by BruceSteers
Wednesday 15th May 2024 12:17pm
Forum: Lounge
Topic: The wiki
Replies: 2
Views: 217

Re: The wiki

Hi all, I wanted to know how can I register a login for the wiki. Also, I want to ask why on earth do you need to login in order to search? I've never seen a wiki that requires login in order to search for information. Thanks. You register on the bugtracker https://gambaswiki.org/bugtracker Only re...
by BruceSteers
Monday 13th May 2024 6:33pm
Forum: General
Topic: Is there a more efficient way to set properties of each tab in a tabstrip?
Replies: 14
Views: 817

Re: Is there a more efficient way to set properties of each tab in a tabstrip?

But then after saying all that.... You could just do this...... Here is a simple TabPanel upgrade that if you save this code as a file called TabPanel.class in your project .src folder it will add a "AutoTitle" property to TabPanel. attached is a project that shows it at work. It's really ...
by BruceSteers
Monday 13th May 2024 2:53pm
Forum: General
Topic: Is there a more efficient way to set properties of each tab in a tabstrip?
Replies: 14
Views: 817

Re: Is there a more efficient way to set properties of each tab in a tabstrip?

To my way of thinking this is either a poor piece of design or a bad implementation. So now I tend to agree with Andrew. Someone should do something about this! :? b Bagsy not me! i'm pestering Ben about enough bugs at present ;) (and i just moaned at him for dismissing a problem because it didn't ...