/*
   $VER: SuperView_ARexx_Demo V2.4 (8.5.94)
   © 1993-94 by Andreas R. Kleinert
   This is a - quite primitive - example how to access
   SuperView's ARexx port from a script.

*/

address command

SuperView "-INSTALL_APPMENU=FALSE -INSTALL_APPICON=FALSE"

say ""
say "ARexx : SuperView has been started : Waiting a moment."

wait 2

say "ARexx : Load a GIF Graphics via the SHOW command"
say "        (Press <RETURN> inside this Window after the graphic"
say "         appeared : L_AMIGA+M, <RETURN>)"

address 'SuperView.rx' "SHOW=SuperView.GIF"

pull key

say "ARexx : Save Graphics as IFF-ILBM"

address 'SuperView.rx' "SAVE_ILBM1=SuperView.ilbm"

wait 3

say "ARexx : Load this IFF-ILBM Gfx now for control"

Wait 2

address 'SuperView.rx' "SHOW=SuperView.ilbm"

say "ARexx : O.K. : Let's quit !"

Wait 5

address 'SuperView.rx' "QUIT"

exit
