11 January 2018, 18:26 | #1 |
Registered User
Join Date: Oct 2008
Location: Finland
Posts: 643
|
Any way to get a list of AREXX commands available for a program?
Hi! Is there any way to get a list of AREXX commands available for a program? I'm trying to automate Blitz Basic 2 but I don't have a list of commands so I'm fumbling around in the dark. Grateful for any insight!
|
11 January 2018, 18:56 | #2 |
Registered User
Join Date: Feb 2008
Location: RNO
Posts: 1,006
|
Yes there is, the "HELP file/A" ARexx command.
The trick is that you'll have to give it the output file where the help text goes, without the file argument it won't print it to shell or so. For example, to get ARexx commands of AmIRC saved to the ram:bla.txt file: rx "ADDRESS AMIRC.1;HELP 'ram:bla.txt'" |
11 January 2018, 19:48 | #3 | |
Registered User
Join Date: Oct 2008
Location: Finland
Posts: 643
|
Quote:
I had my hopes up but problem is that the help command doesn't seem to do anything. I address TED_REXX1 (which I know is correct) and then HELP "RAM:bb2.txt". Maybe it's not implemented for SuperTED in Blitz Basic 2... |
|
11 January 2018, 22:13 | #4 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 6,985
|
|
11 January 2018, 23:14 | #5 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,303
|
Normally there is a list of commands with description in the program's documentation. So, you need to find it.
|
12 January 2018, 01:13 | #6 | ||
Zone Friend
Join Date: Sep 2001
Location: Germany
Posts: 812
|
Quote:
But the commands are of course listed in the binary. You can load the program's binary into a hex editor or a text editor that doesn't care about ascii vs. binary (like CygnusED) and simply search for a command you already know - it should be right next to all the other commands. If you don't know any commands, just try obvious candidates ("open", "tofront"...). This won't let you know about any parameters these commands might need though. Quote:
|
||
12 January 2018, 02:20 | #7 | |
Coder/webmaster/gamer
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,630
|
Quote:
To quote from the official Style Guide: "The following commands are the minimum commands that your application should support...HELP provides access to information about your application. Information about things such as the supported functions and parameters required for functions should be readily available...HELP should present the user with a text list of all the commands that the application supports." |
|
12 January 2018, 07:43 | #8 |
Registered User
Join Date: Feb 2008
Location: RNO
Posts: 1,006
|
Yeah, and all the programs I tried before I made my post did support it (just few programs I had running: AmIRC, OWB, Poseidon, Magic Beacon, MUI Console... and also IBrowse which I started just for extra test), so I would assume that a commercial program like Blitz Basic should also support the official commands.
|
12 January 2018, 09:22 | #9 |
Registered User
Join Date: Sep 2007
Location: Stockholm
Posts: 4,332
|
The documentation for SuperTED is buried somewhere in Blitz:SupportSuite
|
12 January 2018, 09:58 | #10 | |||||
Registered User
Join Date: Oct 2008
Location: Finland
Posts: 643
|
Quote:
Quote:
Quote:
Quote:
Quote:
Code:
HELP will display the standard help line on SuperTED's screen title. This is the same as pushing the HELP key |
|||||
12 January 2018, 15:28 | #11 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,303
|
My experience is that if a program support ARexx then it is documented in it's documentation. If you want to use the ARexx port then you must read it. Similar to Amiga ARexx manual book. Without reading it will be hard to handle ARexx.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Run AREXX program from PC side? | MickGyver | support.WinUAE | 5 | 15 March 2017 10:05 |
Logging Arexx commands with tco/ts | copse | support.Other | 5 | 29 October 2012 11:51 |
List your favourite cli/shell commands replacements. | ppill | request.Apps | 4 | 10 December 2010 14:48 |
Execute a list of commands by doublclicking an icon. | e5frog | support.Other | 5 | 26 July 2010 16:26 |
Amiga ED commands list? | boomtopper | New to Emulation or Amiga scene | 2 | 18 April 2008 17:40 |
|
|