[Gambas-user] Line continuation

2013-12-10 Thread John Rose
Tobias, I liked your ideas of: Dim aExec As String[] Dim sRes As String aExec = [cat, /proc/meminfo] ' Use aExec.Add() to add more arguments Exec aExec To sRes and (thread 'Stopping a CLI program): Print #hFfmpeg, q if you opened it For Output... Currently I have: Private hffmpeg as Process

Re: [Gambas-user] Bug with process events?

2013-12-10 Thread Jussi Lahtinen
Hmmm... not sure I understood correctly. Why then it doesn't fail every time? Anyway, what I'm really trying to do is raise event (when signal arises from another program), but wait until the system is IDLE. Here is the IDLE detection code: Do Exec [xprintidle] To sTmp Sleep 0.25

[Gambas-user] Obtaining Sound Output Monitor's Name

2013-12-10 Thread John Rose
I'm trying to obtain the sound output monitor's name (as a string using the Shell command) for later use in an Exec command (calling ffmpeg). Running the appropriate command in a Terminal gives: john@JohnDesktop:~$ pactl list | grep -A2 '^Source #' | grep 'Name: .*\.monitor$' | awk '{print

[Gambas-user] Stopping a CLI program

2013-12-10 Thread John Rose
Tobias, I just realised that a post that I made on the 'Line continuation' thread is better in this thread. The details are: I liked your ideas of: Dim aExec As String[] Dim sRes As String aExec = [cat, /proc/meminfo] ' Use aExec.Add() to add more arguments Exec aExec To sRes and (thread

Re: [Gambas-user] Stopping a CLI program

2013-12-10 Thread Benoît Minisini
Le 10/12/2013 14:49, John Rose a écrit : Tobias, I just realised that a post that I made on the 'Line continuation' thread is better in this thread. The details are: I liked your ideas of: Dim aExec As String[] Dim sRes As String aExec = [cat, /proc/meminfo] ' Use aExec.Add() to add more

[Gambas-user] Gambas3 crash

2013-12-10 Thread Pino Zollo
While adding a component...in the process of converting a Gambas2 program Gambas3 crashes ...see the attached image Thanks Pino attachment: Gambas3_Crash.jpg-- Rapidly troubleshoot problems before they affect your

Re: [Gambas-user] Stopping a CLI program

2013-12-10 Thread MinnesotaJon
Right -- my fault! When I suggested the example /proc/meminfo, I was just looking for any script example, to discuss using string variables in SHELL and EXEC for very long command strings. Tobias provided the coolest option to do that job. But you've pointed out that I could have chosen a

Re: [Gambas-user] Obtaining Sound Output Monitor's Name

2013-12-10 Thread Tobias Boege
On Tue, 10 Dec 2013, John Rose wrote: I'm trying to obtain the sound output monitor's name (as a string using the Shell command) for later use in an Exec command (calling ffmpeg). Running the appropriate command in a Terminal gives: john@JohnDesktop:~$ pactl list | grep -A2 '^Source #'

Re: [Gambas-user] Stopping a CLI program

2013-12-10 Thread Tobias Boege
On Tue, 10 Dec 2013, John Rose wrote: Tobias, I just realised that a post that I made on the 'Line continuation' thread is better in this thread. The details are: I liked your ideas of: Dim aExec As String[] Dim sRes As String aExec = [cat, /proc/meminfo] ' Use aExec.Add() to add more

Re: [Gambas-user] Stopping a CLI program

2013-12-10 Thread Tobias Boege
On Tue, 10 Dec 2013, Tobias Boege wrote: I attached a program that stops ffmpeg printing q to it. Hope it helps... ... and here comes the attachment. ffmpeg-print-q-0.0.1.tar.gz Description: Binary data -- Rapidly

[Gambas-user] Error when I want to activate a component....

2013-12-10 Thread Ru Vuott
Hello, surprisingly, when I open the window components (Project--Property--Components), the following error warning appears: [13] Null object. GridView.ColumnAt.1705 And then by clicking button OK of warning window the program crashes. why this error ? Regards. vuott

Re: [Gambas-user] Gambas3 crash

2013-12-10 Thread Benoît Minisini
Le 10/12/2013 20:15, Pino Zollo a écrit : While adding a component...in the process of converting a Gambas2 program Gambas3 crashes ...see the attached image Thanks Pino Please tell which version of Gambas you use exactly. Regards, -- Benoît Minisini

Re: [Gambas-user] Error when I want to activate a component....

2013-12-10 Thread Benoît Minisini
Le 10/12/2013 23:15, Ru Vuott a écrit : Hello, surprisingly, when I open the window components (Project--Property--Components), the following error warning appears: [13] Null object. GridView.ColumnAt.1705 And then by clicking button OK of warning window the program crashes.