home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / EDG-CT1.DMS / in.adf / CT.run / Scripts2 / 5 / Hockney_Tiling < prev    next >
Encoding:
Text File  |  1995-10-16  |  807 b   |  38 lines

  1. /*
  2.                         Control Tower Arexx Script
  3.                            Written By J.L. White
  4.                          (C)1995 Merlin's Software
  5. Lines=5
  6. 01=Hockney Tiling
  7. 02= 
  8. 03=This script loads each image of the File List Window
  9. 04=into ImageFX and subdivdes the images into a grid of
  10. 05=user defined mosaic tiles.
  11.  
  12. */
  13.  
  14. options results
  15.  
  16. arg FrameNum TotalFiles
  17. address "IMAGEFX.1"
  18.  
  19. if FrameNum = 0 then do
  20.     Learn "Ram:CT-IFTI" NoHeader Quiet Force
  21.     Hook Tile
  22.     Learn Stop Quiet Force
  23.     end
  24. else do
  25.     if exists("Ram:CT-IFTI.ifx") then address command "Rename Ram:CT-IFTI.ifx to Ram:CT-IFTI"
  26.     call open TempFile,"Ram:CT-IFTI",R
  27.     do until eof(TempFile)
  28.         line = readln(TempFile)
  29.         parse var line Start" "RestOfLine
  30.         if Start = "Hook" then Answer = line
  31.         end
  32.     call close TempFile
  33.     Answer
  34.     end
  35.  
  36.  
  37. exit
  38.