home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 55
/
Amiga_Dream_55.iso
/
Amiga
/
Internet
/
Web
/
RandAnim.lha
/
Install_New_Anim
< prev
next >
Wrap
Text File
|
1998-08-30
|
1KB
|
41 lines
/* Randomise Transfer Anim */
/* A small program to allow random IBrowse Transfer Anims */
address COMMAND
'failat 21'
if ~exists("IBrowse") then do
say "This program must be executed from inside the IBrowse directory!"
say "Make sure you have click on the Install_Anim_Randomiser icon first!"
exit
end
if ~exists("Transfer_Anims") then do
'makedir Transfer_Anims'
'copy "images/def_transferanimation" TO "Transfer_Anims/def_transferanimation.1"'
end
/* how many have we got then? */
maxanims = 1
rxset file '`requestfile NOICONS title="Choose anim to install" negative="Don''t install any"`'
animname = getclip('FILE')
if (~exists(animname) | length(animname)=0) then do
say "Operation cancelled."
exit
end
do i = 1 to 1000
if exists("Transfer_Anims/def_TransferAnimation." || i)
then maxanims = maxanims + 1
else
break
end
'copy "' || animname || '" TO Transfer_Anims/def_TransferAnimation.' || maxanims
'Filenote Transfer_Anims/def_TransferAnimation.' || maxanims || ' ' || animname
say "Animation Installed. You currently have " || maxanims || " animations installed."