Difference between revisions of "Shell Commands/RXCmd"

From MorphOS Library

< Shell Commands

(Undo revision 4350 by Polluks (talk))
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''RXCmd''' - Executes single ARexx commands on a given ARexx port directly
+
'''RXCmd''' - Executes an ARexx command on a given ARexx port directly
  
 
PORT/A,COMMAND/A
 
PORT/A,COMMAND/A
 
  <nowiki>
 
  <nowiki>
PORT    - Name of the ARexx port (case sensitive)
+
PORT    - Name of an ARexx port (case sensitive)
COMMAND - The ARexx command to be executed</nowiki>
+
COMMAND - ARexx command to be executed</nowiki>
  
RXCmd can be used to send ARexx commands to a program even without properly working version of rexxsyslib.library installed. It works with the dummy rexxsyslib.library provided with the standard MorphOS installation, while the traditional RX command needs a full 3rd party rexxsyslib.library.
+
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.
  
Example:
+
Examples:
 
  RXCmd OWB.1 FULLSCREEN
 
  RXCmd OWB.1 FULLSCREEN
 +
RXCmd JUKEBOX "GET TITLE"

Latest revision as of 23:13, 3 October 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.

Examples:

RXCmd OWB.1 FULLSCREEN
RXCmd JUKEBOX "GET TITLE"