CompuServe Thread

#Arexx-Script

5 messages in this thread
#46547From: Frieder SandelApr 18, 1995 9:26 AM
Hi there, Help! I need an Arexx-Script that does the following: There are some images (like: "movie.00001" to "movie.00999") in the Amiga iff-format. Now they should be converted to the pict format (via AdPro) – and saved in a different directory. I know how to do a script that converts ONE image file – but a bunch of them..? -Frieder
#46560From: Jim ButterfieldApr 19, 1995 8:38 AM
I don't know ADPro, but the general approach will go as follows: DO SUBSCR=1 TO 999 NAME = 'MOVIE.'RIGHT(SUBSCR,5,'0') [now do your ADPro script thing using file NAME…] END The RIGHT function forces a five-character string, padded with character '0', so the names end up as MOVIE.00001, MOVIE.00002, etc. If the file numbers are not 100% consecutive, you might find it useful to add an IF EXISTS test. –Jim
#46567From: Mike/CompuStore W-GermanApr 20, 1995 12:42 PM
You could use the FRED to do such things. You'll find it easier to use than programming ARexx yourselfe -Mike
#46606From: Ken TaylorApr 23, 1995 3:17 AM
Not sure which forum and library I saw this file in but there is an arexx script written for Adpro to do batch image processing. Maybe do a filefinder with Adpro keyword search eh?
#46628From: Ron LegroApr 24, 1995 6:58 PM
A commercial product that has numerous AdPro batch processing scripts (plus scripts for a dozen or more other popular Amiga programs) is Batch Factory. It's only about $35 or so.