Send an ARexx command
amiga_arexxSend a single command to a running Amiga program's case-sensitive ARexx port and return its RESULT or error code, enabling scripted control and inspection of that program.
Instructions
Send one command to a running program's ARexx port and return its RESULT string, or 'rc N (secondary M)' when the program reports an error. What the command does depends on the program (WORKBENCH takes e.g. 'getattr ...', 'window ...'); some commands save, quit or delete. Port names are case sensitive; amiga_arexx_ports lists them. For a whole ARexx script use amiga_rexx.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | port name, case sensitive (e.g. WORKBENCH) | |
| command | Yes | the command | |
| timeout | No | seconds to wait for the answer (default 30) |