Console text to Application

Post

Posted
Rating:
#1 (In Topic #850)
Trainee
Hi All,
I am no doubt a beginner when it comes to programming. I have a small application that places some text in the console. I would like to place this text into a textbox or textarea, or some other item in the application. I have attached a screenshot of the IDE. In this case I would like to display the text "yt-dlp is up  to date (22.05.18)" in the app.
Please explain to me how to do this.
Thanks and regards.
mikejp56
Image

(Click to enlarge)

Online now: No Back to the top

Post

Posted
Rating:
#2
Regular
vuott is in the usergroup ‘Regular’
If the command, used with "Shell", immediately returns its result, then you have to use the TO keyword.

Example:

Code (gambas)

  1. Public Sub Form_Open()
  2.  
  3.   Shell "ls" To TextArea1.Text
  4.  

http://gambaswiki.org/wiki/lang/shell

Europaeus sum !

<COLOR color="#FF8000">Amare memorentes atque deflentes ad mortem silenter labimur.</COLOR>
Online now: No Back to the top

Post

Posted
Rating:
#3
Trainee
 Hi vuott,
Thank you very much!
Regards,
mikejp56
Online now: No Back to the top
1 guest and 0 members have just viewed this.