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 best solutions below
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
- Confusion about CTRL_SHUTDOWN_EVENT handling in DLLs and WM_QUERYENDSESSION
- C++: Re-use line printed to console
- Lock and Edit Button is Weblogic 12C admin console is not responding ,
- Error executing SSIS Package
- Eclipse console: revert line order
- Is there any way to count elements that are equal to "x" in 2D aray; C#
- Neither .on or .live functions are recognized
- Problems with UTF8 text in XE7 ReadLn command
- py2exe: Allow a console window to be either shown or hidden with a sys.argv
- Why does ArrayList.Sort() sorting by only first digit?
- Interactive scanf using pipe
- C# Program automation - Program hangs/doesn't work
- Uncaught SyntaxError: Unexpected token < in HTML - can't solve
- What’s the quickest, easiest way to execute a JavaScript file on a live web page?
- How to find wrong script
Related Questions in TERMINAL
- Do executable files always open a terminal window on MacOS?
- C++: Re-use line printed to console
- How to enable branch hints in Mac OS git?
- When was a file used by another program
- Autocompletion does not work in R terminal inside square brackets
- How to get Mouse support for dtterm terminal in solaris
- Creating Rails Controller In Sub-directory
- Force the terminal output buffer to flush
- How to detect what terminal people use
- How to stop the iPython notebook to run the command line, run only python code
- How to find and show all the information in a text file
- Updating folder structure with Mac Terminal
- Why is it slower to print directly to console/terminal than redirecting?
- Where can I read the ANSI terminal standard?
- How to get C-` key combo recognized in Emacs under Mac?
Related Questions in EMBED
- YouTube views not counting on Wordpress embed
- Youtube embed display at one time start at beginning
- Embedding a Google Chrome App into a web page for us in another browser
- What is the most efficient way to embed multiple Instagram photos?
- Can I embed my Picasa video to play on my website?
- Embedded Google Document Viewer (PDF): How to scroll horizontal
- Display fillable PDF in webpage with submit button that emails completed form
- C# Embed QEMU Into panel - how to get/generate QEMU window handle?
- How to custom embed Soundcloud track?
- Trouble preloading CKEditor with Database Content
- Embed LateX file to HTML
- styles css in embeded souncloud player
- How to embed a Wordpress blog into a website?
- Imdb iframe code not working
- How to open an embedded SWF file in mobile browser?
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
- REALBasic Questions
- In RealStudio, how can I intercept pasting of rich text?
- Why does Real Studio Break on the Catch of an Exception?
- Get value of variable named in a string
- Realstudio (2011 4.2) Date in Milliseconds
- Sending SCI_GETTEXT (and others) crashes the application
- Using authentication with Proxy
- Array manipulation in Real Studio
- RealBasic byte to string
- Exporting to text in xojo
- REALBasic reporting with SQLite3 DB
- Embedding simple terminal/console in RealBasic
- curl_formadd returns `CURL_FORMADD_OPTION_TWICE` on first call
- How do I duplicate iTunes-style windows on Windows?
- REALbasic: Sharing common code between disparate subclasses
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)
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?
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.)