Difference between revisions of "Shell Commands/RXCmd"

From MorphOS Library

< Shell Commands

(restriction)
Line 7: Line 7:
  
 
RXCmd can be used to send single ARexx commands to a program. It even works with the dummy rexxsyslib.library file provided with the standard MorphOS installation, while the traditional RX command requires installation of a 3rd party rexxsyslib.library file.
 
RXCmd can be used to send single ARexx commands to a program. It even works with the dummy rexxsyslib.library file provided with the standard MorphOS installation, while the traditional RX command requires installation of a 3rd party rexxsyslib.library file.
 +
However RXCmd does not support "result" of a command, for example with CygnusEd's port.
  
 
Examples:
 
Examples:
 
  RXCmd OWB.1 FULLSCREEN
 
  RXCmd OWB.1 FULLSCREEN
 
  RXCmd JUKEBOX "GET TITLE"
 
  RXCmd JUKEBOX "GET TITLE"

Revision as of 15:57, 30 September 2024

RXCmd - Executes an ARexx command on a given ARexx port directly

PORT/A,COMMAND/A

PORT    - Name of an ARexx port (case sensitive)
COMMAND - ARexx command to be executed

RXCmd can be used to send single ARexx commands to a program. It even works with the dummy rexxsyslib.library file provided with the standard MorphOS installation, while the traditional RX command requires installation of a 3rd party rexxsyslib.library file. However RXCmd does not support "result" of a command, for example with CygnusEd's port.

Examples:

RXCmd OWB.1 FULLSCREEN
RXCmd JUKEBOX "GET TITLE"