home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 13
/
AACD13.ISO
/
AACD
/
Graphics
/
TimeMachine
/
timemachine
/
rexx
/
save_project.ifx
< prev
next >
Wrap
Text File
|
1999-08-16
|
679b
|
40 lines
/*
* Time Machine
* Save_project.ifx
* by Ron Jensen/Steve Chapple
*
* Function: Saves the settings so we can re-load them later
*/
options results
/* IFX: gives us it's assign */
GetStatus AssignDir
IF rc = 0 THEN assign = result
ELSE assign = "IMAGEFX:"
RequestFile '"Save Settings"' '"'assign'TimeMachine/Scripts"' '""' '"#?"' /* set input */
if rc ~=0 then
exit
Originalfile=Result
call open save_file, (OriginalFile), 'W'
junk=show("clips")
do while (junk ~= "")
parse var junk tm_name junk
if(LEFT(tm_name,3) == "TM_") THEN DO
say tm_name getclip(tm_name)
CALL WRITELN save_file, tm_name getclip(tm_name)
END
end
call close save_file
exit