home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d7xx / d771 / autosave.lha / AutoSave / autosave.doc < prev    next >
Text File  |  1992-12-05  |  2KB  |  33 lines

  1.  
  2. AutoSave is a generalised version of a little program I wrote to act as an
  3. auto-saver for my Aladdin digital lighting controller.  It runs a specified
  4. ARexx script at one of several time intervals - originally one which saved
  5. the current Aladdin production under the name "AutoSaved", but the script
  6. can, of course, do anything.
  7.  
  8. AutoSave can only be run from the Workbench (it exits immediately if run
  9. from a Shell), and looks for the following icon tooltypes:
  10.  
  11. - SCRIPT: The full path and name of the ARexx script to execute, along with 
  12.   any arguments desired. Max safe length is about 60 characters.
  13.   Default is "rexx:AutoSave.rexx".
  14.  
  15. - TITLE: The title which appears in AutoARexx's window. Default is "AutoSave".
  16.  
  17. - MINUTES:  The initial time interval between script executions.  The
  18.   choices are 1,5,15,60 or 0 (disabled). If the time given is not one of
  19.   these, or the tooltype is not present, it defaults to 15.
  20.  
  21. AutoSave's window allows you to change the interval whenever you want -
  22. selecting "Disabled" prevents the script from being executed. AutoSave
  23. executes the ARexx script in the background, so that if the script hangs
  24. (due to an unresponsive or crashed target application) AutoSave will not
  25. also hang. Any output from the script executed is NOT routed to a console
  26. window, so it cannot be seen.
  27.  
  28. Apart from its utility, AutoSave is a very simple GadTools example which
  29. also demonstrates using and interrupting the timer device.
  30.  
  31. Apologies to Mike Sinz for pinching his "PM" icon, which happened to be the
  32. closest tool icon handy.
  33.