English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 24 April 2021, 12:41   #1
npagonis73
Registered User
 
npagonis73's Avatar
 
Join Date: Sep 2019
Location: Corfu / Greece
Posts: 410
Roadie Arrex Usage

Hi guys

Can someone give me an example how can I use arrex commands in a program that supports it. For example how can I use the arrex commands in Roadie or another program that supports arrex. Please could someone give me an example of how the command should look like and potential use of it.

Thanks
npagonis73 is offline  
Old 24 April 2021, 12:52   #2
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
AREXX exists as an interprocess communication scripting language. Trying to use AREXX ports without knowing the language is kind of tricky. At least knowing the correct spelling of it will help find more information. Also, the language is the Amiga version of the REXX language used by OS/2 Warp so that might give you a few search terms to look into.
Samurai_Crow is offline  
Old 24 April 2021, 13:11   #3
npagonis73
Registered User
 
npagonis73's Avatar
 
Join Date: Sep 2019
Location: Corfu / Greece
Posts: 410
Ok thanks for the info. Will try to look into it.
npagonis73 is offline  
Old 24 April 2021, 14:22   #4
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
If you don't own the Amiga OS 3.1 ARexx book then find it online for the start. There are more books available of course. There is also ARexxGuide2: http://aminet.net/search?query=arexxguide2

About Roadie. The documentation and ARexx features are limited:

Code:
ARexx Commands (Default port is ROADIE)
- ONLINE                        [ Go Online ]
- OFFLINE                       [ Go Offline ]
- SHOW                          [ Show the main Roadie interface ]
As you can see there are only three commands. Important info is that Roadie port is called "ROADIE". Interprocess communication is usually done by message ports. If you want to talk to Roadie you have to switch to its port. E.g.: "ADDRESS ROADIE".
daxb is offline  
Old 24 April 2021, 16:59   #5
npagonis73
Registered User
 
npagonis73's Avatar
 
Join Date: Sep 2019
Location: Corfu / Greece
Posts: 410
Thanks a lot daxb. That is why I chose roadie as an example. Because it is simply 3 commands. So what would the command or script look like if I wanted to talk to roadie and let's say show it's gui which is the third arexx command? What is the advantage of using arexx (if there is any) and not the normal dos commands of the program?

Last edited by npagonis73; 24 April 2021 at 17:05.
npagonis73 is offline  
Old 24 April 2021, 17:07   #6
npagonis73
Registered User
 
npagonis73's Avatar
 
Join Date: Sep 2019
Location: Corfu / Greece
Posts: 410
Guys sorry for all those questions but I am just trying to understand arexx usability over dos commands.
npagonis73 is offline  
Old 24 April 2021, 18:31   #7
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
The simplest form:
Code:
/**/
ADDRESS ROADIE
SHOW
ARexx is an interpreted high level scripting language. Amiga DOS has very limited scripting possibilities. So, if you want to do some more advanced programming you would choose ARexx. However, with Amiga DOS you cannot talk to other programs like it is possible with ARexx message ports.

The Roadie example doesn't show the advantage of ARexx over DOS.

A long answer would be much longer. If you are interested in ARexx you can also check stuff on Aminet or WWW. Or check your installed programs manuals for ARexx interface. This should give you an idea.
daxb is offline  
Old 24 April 2021, 20:45   #8
npagonis73
Registered User
 
npagonis73's Avatar
 
Join Date: Sep 2019
Location: Corfu / Greece
Posts: 410
Great, thank you very much for your time and explanation. I get the difference and I will search for more info online as you suggested.
npagonis73 is offline  
Old 28 April 2021, 21:08   #9
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
The Amiga OS online manuals include ARexx in a Wiki format that makes for a decent reference: https://wiki.amigaos.net/wiki/AmigaOS_Manual:_ARexx

If you're using OS 3.5+ (including OS 3.1.4), Workbench itself also includes an ARexx port. Use of that was included in the OS 3.9 ARexx manual, but someone has decided to remove it from the OS manual posted above. Instead, it has been awkwardly added to the basic use of Workbench page here: https://wiki.amigaos.net/wiki/AmigaO...Rexx_Interface
Daedalus is offline  
Old 29 April 2021, 13:46   #10
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
Quote:
Originally Posted by Daedalus View Post
If you're using OS 3.5+ (including OS 3.1.4), Workbench itself also includes an ARexx port. https://wiki.amigaos.net/wiki/AmigaO...Rexx_Interface
Do you know if there exists an Amiga Guide version of this? For offline reading or quick access it would be better then HTML or TEXT. Years ago I used the text version from NDK3.9 but that was very time consuming searching the needed information.
daxb is offline  
Old 29 April 2021, 14:47   #11
malko
Ex nihilo nihil
 
malko's Avatar
 
Join Date: Oct 2017
Location: CH
Posts: 4,856
You can find other various books/readings about ARexx here as well : https://archive.org/search.php?query=arexx
malko is offline  
Old 29 April 2021, 23:08   #12
npagonis73
Registered User
 
npagonis73's Avatar
 
Join Date: Sep 2019
Location: Corfu / Greece
Posts: 410
Thank you all guys for your help. I am digging into arrex stuff slowly but steadily using all your sources and guides.

Take care
npagonis73 is offline  
Old 30 April 2021, 11:11   #13
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,334
Quote:
Originally Posted by daxb View Post
Do you know if there exists an Amiga Guide version of this? For offline reading or quick access it would be better then HTML or TEXT. Years ago I used the text version from NDK3.9 but that was very time consuming searching the needed information.
Not that I know of. OS 3.9 came with a HTML version too for offline use, but it's a bit clunky to load a browser each time. An AmigaGuide conversion would be nice alright...
Daedalus is offline  
Old 30 April 2021, 11:34   #14
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
Check also this thread: https://eab.abime.net/showthread.php?t=78938
daxb is offline  
Old 30 April 2021, 11:48   #15
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,303
@Deadalus:
I have no experiences with convert to guide tools but there are some on Amient: http://aminet.net/search?query=convert+to+guide
I would try it myself but my Amiga is without network for some years now. Just for the case someone is interested.
daxb is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
CPU usage Power P support.WinUAE 3 05 April 2020 14:19
Usage of addx Knocker Coders. Asm / Hardware 6 18 January 2016 00:52
VICE 64 How to usage? Amiten support.Apps 4 29 November 2012 19:26
Usage Suggestions fiath project.WHDLoad 4 05 October 2004 15:49
Heavy cpu usage - again abelthorne support.WinUAE 5 03 March 2004 11:32

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:13.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.10705 seconds with 15 queries