
! script name: misc.d/showgif

!A
!A NAME:
!A
!A 	SHOW GIF
!A
!A DESCRIPTION:
!A
!A
!B INSTRUCTIONS:
!B
!B

stat=ChangeLabelStr("ScriptNameStatus","Function: make gif ")

DIM Answer$[256]
DIM Destination$[256]
DIM Store_dir$[256]
DIM Name$[256]
DEG


Stat=NamedVarStr("pics dir",WsSystemVars,"/usr/weber/ST/pics/",Store_dir$)

Name$= FileNameString(Store_dir$,"shade.gif")
Stat= LoadGifView(1,Name$)

Name$= FileNameString(Store_dir$,"shade1.gif")
Stat= LoadGifView(1,Name$)

Name$= FileNameString(Store_dir$,"shade2.gif")
Stat= LoadGifView(1,Name$)

Leave:!
IF (NOT LEN(Destination$)) THEN
         LOAD "typecontrol"
ELSE
         LOAD Destination$
END IF
END


