Article View: comp.sys.amiga.tech
Article #1786Re: Does Anyone Use AREXX For Control Of Multiple Applications?
From: Mike (I'll think of something ye...
Date: Sun, 22 Oct 1989 22:53
Date: Sun, 22 Oct 1989 22:53
29 lines
2029 bytes
2029 bytes
I've got a couple of such applications. The one that's probably closest to what you want runs from mff+, and uses mg to do template processing on a user-selected file. This was written specifically so I could do form letter generation, but can but used for many other, similar things. The rest are all based on treewalk. Treewalk can run one (or more) macros on all files in a tree, and answers commands to hand back parts of the FileInfoBlock (or expressions based on same) for the file currently being considered. A typicall such macro is "mginsert", which finds a running mg (starting one if needed), and inserts the name of each file scaneed into the buffer. Other uses (such as getting vlt to upload files that have changed since the last upload) should be simple; I just need to write the scripts. This last application also illustrates how most treewalk scripts work: there's a WSHELL (or just a .rexx) script that sets some clip variables, and then starts a treewalk (.ftw) script that uses those clip variables to control what it does - for example, making vlt issue "cd" commands to the remote host, so that it's in right directory to do an upload. <mike -- Take a magic carpet to the olden days Mike Meyer To a mythical land where everybody lays mwm@berkeley.edu Around in the clouds in a happy daze ucbvax!mwm In Kizmiaz ... Kizmiaz mwm@ucbjade.BITNET
Technical Details
Message-ID:
<1989Oct22.225352.19525@agate.berkeley.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!agate!mica.berkeley.edu!mwmReferences:
<23183@cup.portal.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!agate!mica.berkeley.edu!mwm From: mwm@mica.berkeley.edu (Mike (I'll think of something yet) Meyer) Newsgroups: comp.sys.amiga.tech Subject: Re: Does Anyone Use AREXX For Control Of Multiple Applications? Message-ID: <1989Oct22.225352.19525@agate.berkeley.edu> Date: 22 Oct 89 22:53:52 GMT References: <23183@cup.portal.com> Sender: usenet@agate.berkeley.edu (USENET Administrator;;;;ZU44) Reply-To: mwm@mica.berkeley.edu (Mike (I'll think of something yet) Meyer) Organization: Missionaria Phonibalonica Lines: 29