I have a shell command that I am running in a RealBasic App, and until now I've just been reading the output, but it requires user input. Is there something I could use to embed something like a terminal or a console application that could run a command, show the output, and take the input, maybe in a widget looking like a text area, like many IDEs and code editors have?
Embedding simple terminal/console in RealBasic
1.3k views Asked by None At
2
There are 2 answers
0
ianmjones
On
Could you separate the output and input, or would this not make sense for your use case?
If you could, then you could simply use a TextArea to display the console app's output, just keep appending to the TextArea's text. Then use a TextField for single line input underneath the TextArea, or whatever else makes sense for entering the params you need to send to the console app.
Then you can use a button (or catch [RETURN] key up in TextField) to grab the input and pass on to the console app.
Related Questions in CONSOLE
- How can I reintroduce username an password on git using fedora?
- How to scroll to the bottom of console window in PyCharm2019 automatically?
- Time usage saved from a process is not properly stored/shown
- Python Console commands
- C#: creating an array and appending console input to each value
- some CSS property working on chrome's console but not on firefox
- Why does throwing an error in any browser developer console not get caught by window.addEventListener('error')?
- Program won't run without print statement - Java
- C# GUI/WPF App, open the "new" W11 Console
- A str, Segment or object with __rich_console__ method is required
- How can I get the new Xcode console output?
- How to Disable Live Reload Enabled Error in Console While Refreshing Web Page?
- Why is my cursor in a random far-away place in Visual Studio Debug Console
- Nodejs - why console.log in a secondary method does not show up
- How can you print out different strings in different coordinates?
Related Questions in TERMINAL
- How to fix npm errors without writing sudo in macOS?
- using whisper in the terminal gives an error
- Ubuntu terminal unable to take in input and read directories
- How do I get my terminal to work in VS Code? Exit Code:2, doesn't allow me to type anything
- Use `ffprobe` to display subtitle content like the `cat` command
- I am using the bash terminal in VS Code, I am new to coding, and the terminal displays very differently, how do I get them to match?
- Reading & Writing to the same file from terminal
- In VS Code, when sending Python lines to terminal, why do I have to re-send lines that set a variable to an edited value before the lines that use it?
- I tried installing Bagisto on a Pi, and I decided to uninstall it. Now, my PHPmyadmin doesn't work
- Create react app not working, file already exists with EEXIST error
- c++ python ctypes dependency issues
- Auto-activation of the conda environment in the terminal (ps, cmd, bash) in VS Code on Windows 11 does not work. How to solve this problem?
- Command Prompt/PowerShell Closing Automatically with Error -532462766/-1 in Visual Studio Code
- Output from sys.exit sometimes appears on terminal before output from print
- minikube not starting the service
Related Questions in EMBED
- I want to embed YouTube videos in my web app while safeguarding the direct video links. How can I do this?
- YouTube embed mutes by default on load
- Qlik - How to get list of assigned Space / Fetch all Apps of an Space / Fetch all Sheets of an App using REST API
- How to silence console.log from third party iframe
- PDF Embed API defaultViewMode: "FIT_WIDTH" doesn't work on Mobile Phones
- How can I embed a desktop app (GPT4ALL) into an HTML webUI?
- Twitter embedded timeline is showing "Nothing to see here"
- Embedded JS data not inputting on Qualtrics Data & Analysis
- Is it possible to embed just one element from a webpage using an iFrame/code?
- Is there a method to insert a value from a JavaScript variable into the embedded Excel sheet?
- Camera permissions error on VideoAsk embed on my website
- When displaying a PDF inside an embed tag, is there any way to disable or remove a button from the toolbar?
- Embeds loading on top of one another in HTML
- How can I force the page thumbnail Menu in an <embed> html tag to default to closed?
- Smart Card(Sim Card), connect to stm32 via USART(UART)
Related Questions in REALBASIC
- REALbasic array in an array
- Realbasic How to submit an HTML form in code
- REALBasic/Xojo NilObjectException When Calling Class Method From Property
- What's wrong with this Applescript?
- How to send a string from an Apple script
- REALBasic Questions
- How to save a picture from a webcam
- Looking for an organized list of ActiveX object IDs for embedding
- REALBasic - Programmatically create controls
- ExitWindowsEx fails even after adjusting my privilege token
- Delete a character from string realbasic
- RealBasic to write Windows applications?
- Applescript used in compiled app won't access ML Calendar
- How can I tell if my code is running inside a Console or desktop application?
- Getting number of CPUs on Windows with realbasic
Related Questions in REALSTUDIO
- Exporting to text in xojo
- Get value of variable named in a string
- curl_formadd returns `CURL_FORMADD_OPTION_TWICE` on first call
- Sending SCI_GETTEXT (and others) crashes the application
- Array manipulation in Real Studio
- REALbasic: Sharing common code between disparate subclasses
- Using authentication with Proxy
- How do I duplicate iTunes-style windows on Windows?
- Realstudio (2011 4.2) Date in Milliseconds
- RealStudio and PostgreSQL
- Enum in realstudio
- Real Studio: finding position of XQL results in original XmlDocument
- Splitting A String In Two Parts(REALBASIC)
- GetConsoleScreenBufferInfoEx fails due To an invalid parameter
- In RealStudio, how can I intercept pasting of rich text?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
There is no pre-built control in RealStudio to accomplish this. However it's trivial to implement with a TextArea control and a Shell object set to Mode=2.
An example of this is included in the RealStudio Examples directory in your RealStudio install directory (by default on Windows, C:\Program Files\REAL Software\Real Studio\Examples\Shell\Interactive Shell.rbp.)