Search found 1603 matches

by BruceSteers
Sunday 2nd June 2024 3:05pm
Forum: Beginners
Topic: Args and namespaces
Replies: 2
Views: 32

Re: Args and namespaces

You must open the project properties window and add the component gb.args

Once you have the component added then the additional Args functions will work.
by BruceSteers
Sunday 26th May 2024 9:01am
Forum: General
Topic: Viewing bash/php scripts in real time
Replies: 16
Views: 1282

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 I'll play with terminal view and see...
by BruceSteers
Saturday 25th May 2024 12:45am
Forum: General
Topic: Viewing bash/php scripts in real time
Replies: 16
Views: 1282

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: 16
Views: 1282

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: 16
Views: 1282

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: 16
Views: 1282

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: 16
Views: 1282

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

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 475 times
by BruceSteers
Monday 20th May 2024 10:11am
Forum: General
Topic: DirView question
Replies: 2
Views: 463

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

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...