--
You received this message because you are subscribed to
the "Pick and MultiValue Databases" group.
To post, email to: mvd...@googlegroups.com
To unsubscribe, email to: mvdbms+un...@googlegroups.com
For more options, visit http://groups.google.com/group/mvdbms
---
You received this message because you are subscribed to the Google Groups "Pick and MultiValue Databases" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mvdbms+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mvdbms/5808823e-188d-4748-bd82-3353a0fa8b24n%40googlegroups.com.
External Program Execution
ESC STX < command CR
Executes the Windows command line command, then returns to AccuTerm emulation mode immediately. Command is executed concurrently with the terminal session. Command may also be the file name of a document that is registered with Windows. If command is a document file name, the program associated with the specified file is used to open the file. For example, if the file name ends in ".doc", Microsoft Word is used to open the specified document file. You can also use this function to open a URL in the default browser (be sure to include the http:// prefix in the URL):
EQU ESC TO CHAR(27), STX TO
CHAR(2), CR TO CHAR(13)
CMD =
"calc.exe"
PRINT
ESC:STX:'<':CMD:CR:
ESC STX > command CR
Executes the Windows command line command and suspends the terminal session until the command completes. See above for details.
Note: when using this function, you often need the host program to wait until the command terminates. If you require this functionality, then you should send the ESC STX I command immediately following the ESC STX > command, and then wait for input. AccuTerm will not process the ESC STX I until the command terminates. After the command completes, ESC STX I transmits AccuTerm's licensing information back to the host, thus the input is satisfied and the host program can continue execution:
EQU ESC TO CHAR(27), STX TO
CHAR(2), CR TO CHAR(13)
CMD =
"notepad.exe"
PRINT
ESC:STX:'>':CMD:CR:
PRINT
ESC:STX:'I':
INPUT JUNK
To view this discussion on the web visit https://groups.google.com/d/msgid/mvdbms/f3fab78a-834e-49ba-a492-6ff349b94db5n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mvdbms/1a268853-62a8-4a80-ba16-1c4505c22106n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mvdbms/a23eb0f4-8689-4539-b9e8-cef08d1d0f5en%40googlegroups.com.