Welcome, Guest. Please login or register.

Author Topic: Is there anything like ARexx in Unix or Windows?  (Read 4694 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline freqmaxTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show only replies by freqmax
Is there anything like ARexx in Unix or Windows?
« on: May 12, 2011, 02:50:27 PM »
Is there anything like an ARexx port on software used in Unix and Windows such that one can easily command other software esp closed source ones to do things. And thus open up for integration and batch processing?
Seems to be the missing feature, or did I miss something?
« Last Edit: May 12, 2011, 02:57:05 PM by freqmax »
 

Offline TheBilgeRat

  • Hero Member
  • *****
  • Join Date: May 2010
  • Posts: 1657
    • Show only replies by TheBilgeRat
Re: Is there anything like ARexx in Unix or Windows?
« Reply #1 on: May 12, 2011, 02:57:22 PM »
I like python, meself...

In unix, theres bash scripting (or dash, etc)

I'm not too sure that there's something EXACTLy like it, that was integrated into software sold for the machine, no.
 

Offline nicholas

Re: Is there anything like ARexx in Unix or Windows?
« Reply #2 on: May 12, 2011, 03:02:26 PM »
DBus + whatever language you choose that can talk to apps that support being controlled via DBus.

 http://www.freedesktop.org/wiki/Software/dbus
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline vidarh

  • Sr. Member
  • ****
  • Join Date: Feb 2010
  • Posts: 409
    • Show only replies by vidarh
Re: Is there anything like ARexx in Unix or Windows?
« Reply #3 on: May 12, 2011, 03:11:39 PM »
Quote from: freqmax;637369
Is there anything like an ARexx port on software used in Unix and Windows such that one can easily command other software esp closed source ones to do things. And thus open up for integration and batch processing?
Seems to be the missing feature, or did I miss something?


Not really. There are tons of messaging libraries and RPC solution etc., and there's even an open source REXX port (Regina, used in AROS) but next to no software *uses* them.
 

Offline jorkany

  • Hero Member
  • *****
  • Join Date: Sep 2006
  • Posts: 1009
    • Show only replies by jorkany
    • http://www.amigaos4.com
Re: Is there anything like ARexx in Unix or Windows?
« Reply #4 on: May 12, 2011, 03:14:28 PM »
Quote from: freqmax;637369
Is there anything like an ARexx port on software used in Unix and Windows such that one can easily command other software esp closed source ones to do things. And thus open up for integration and batch processing?
Seems to be the missing feature, or did I miss something?

http://en.wikipedia.org/wiki/Windows_Script_Host
Software interfaces are usually through OLE Automation. Previously Windows also provided DDE which is probably a lot more similar to what you're thinking of.
« Last Edit: May 12, 2011, 03:17:43 PM by jorkany »
 

Offline persia

  • Hero Member
  • *****
  • Join Date: Sep 2006
  • Posts: 3753
    • Show only replies by persia
Re: Is there anything like ARexx in Unix or Windows?
« Reply #5 on: May 12, 2011, 04:21:52 PM »
Nobody has gotten the interprocess communications working better than Apple has in OS X.
[SIGPIC][/SIGPIC]

What we\'re witnessing is the sad, lonely crowing of that last, doomed cock.
 

Offline whabang

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 7270
    • Show only replies by whabang
Re: Is there anything like ARexx in Unix or Windows?
« Reply #6 on: May 12, 2011, 04:57:59 PM »
As others mentioned, there are alternatives, but those are rarely supported by any software.

Microsoft's PowerShell has some potential, but it's still not the same.
Beating the dead horse since 2002.
 

Offline TheGoose

  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 1458
  • Country: us
  • Gender: Male
    • Show only replies by TheGoose
    • http://www.amiga.org/forums/blog.php?u=827
Re: Is there anything like ARexx in Unix or Windows?
« Reply #7 on: May 12, 2011, 06:39:21 PM »
Yeah, it's called Rexx.
G1200, A3000D, A1200 PPC AOS4.0C

I\'m on Google +
 

Offline eb15

  • Jr. Member
  • **
  • Join Date: Feb 2010
  • Posts: 61
    • Show only replies by eb15
Re: Is there anything like ARexx in Unix or Windows?
« Reply #8 on: May 12, 2011, 08:12:29 PM »
ARexx as implemented in Amiga software has various properties that aren't exactly duplicated anywhere.  It was a system available thing, and it was an interface added to individual apps -- extensible on each end with no "privilege" barriers in the way.

Tcl/Tk was a proposed UNIX based alternative back in the day which we don't hear much about now.  In actuality, just about any language interpreter is a possible alternative (basic, rebol, etc.) if you mix with a standardized message passing scheme/protocol for the commands and data sharing.  AROS's regina is still broken in this way as it doesn't yet implement the "options results" data (string) buffer, along with returning the usual rexx numeric error/success code, which many ARexx scripts use and required.
« Last Edit: May 12, 2011, 08:23:26 PM by eb15 »
 

Offline freqmaxTopic starter

  • Hero Member
  • *****
  • Join Date: Mar 2006
  • Posts: 2179
    • Show only replies by freqmax
Re: Is there anything like ARexx in Unix or Windows?
« Reply #9 on: May 12, 2011, 09:20:35 PM »
There's lots of script languages. But the major culprint is support for being able to open a port to commercial software (or free) and make say.. open a file. Do something with it. Save it. Open next etc..
No good standard is useful if there's no implementations done. Even bad implementations.

I guess M$-Win OLE/DDE is along this route but it's also requires some very win32 specific binary juggling. Not something clean and straightforward as an Rexx script. This could be used to make a microcontroller windoze-only programmer fetch a unix hexfile and burn it. For example..

I think Dbus might be alike but it's mostly for hardware (usb) reconfiguration asfaik.
 

Offline LoadWB

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 2901
  • Country: 00
    • Show only replies by LoadWB
Re: Is there anything like ARexx in Unix or Windows?
« Reply #10 on: May 12, 2011, 11:30:20 PM »
Regina REXX works very well for me in Windows and Solaris.  As far as things like ARexx ports, I don't think such a construct exists in Regina, since most programs probably don't support it, anyway.  Though, for the familiar scripting environment, it's quite the bee's knees.
 

Offline DamageX

  • Sr. Member
  • ****
  • Join Date: Jun 2005
  • Posts: 339
    • Show only replies by DamageX
    • http://www.hyakushiki.net/
Re: Is there anything like ARexx in Unix or Windows?
« Reply #11 on: May 13, 2011, 01:12:36 AM »
if you want to automate something involving Windows GUI programs then check out AutoHotkey
 

Offline Fats

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 672
    • Show only replies by Fats
Re: Is there anything like ARexx in Unix or Windows?
« Reply #12 on: May 13, 2011, 06:57:12 PM »
Quote from: freqmax;637369
Is there anything like an ARexx port on software used in Unix and Windows such that one can easily command other software esp closed source ones to do things.


Just a side-note on the basic design principle of original UNIX. In UNIX everything is supposed to be a file. -The system should consist of a lot of small programs that do just one thing. Communication between programs is done through files, sockets and pipes. Shell scripts are written to pipe input and output through different commands to get the final desired output.
For an example following this approach have a look at netpbm.

Probably not what you are looking for but I hope just a small, interesting side-note.

greets,
Staf.
Trust me...                                              I know what I\'m doing