home *** CD-ROM | disk | FTP | other *** search
- .KEY KEEPDRAWERS/S,SAVE/S,NOREQ/S
-
- .BRA {
- .KET }
-
- Copy SYS:Prefs/Presets/Christmas/#?.prefs ENV:Sys CLONE QUIET
-
- Rx "ADDRESS WORKBENCH; WINDOW '""SYS:Prefs/Presets/Animated GIFs/""' OPEN"
- Rx "ADDRESS WORKBENCH; ICON WINDOW '""SYS:Prefs/Presets/Animated GIFs/""' 'bell' '""christmas tree""' '""santa claus 1""' OPEN"
-
- IF "{KEEPDRAWERS}" EQ ""
- Rx S:CloseAllDrawers.rexx
- ENDIF
-
- set choice 0
- IF "{SAVE}" EQ ""
- IF "{NOREQ}" EQ ""
- set Title "Christmas Look"
- set Body "Do you want to save this christmas look?*NYou're old prefs files are copied to*NSYS:Prefs/Presets/Standard"
- set Gadgets "Save|Cancel"
- IF "$Language" EQ "deutsch"
- set Title "Es weihnachtet sehr"
- set Body "Wollen Sie den Weihnachtsstil speichern?*NIhre alten Voreinstellungen werden nach*NSYS:Prefs/Presets/Standard kopiert."
- set Gadgets "Sichern|Abbrechen"
- ENDIF
- set choice `RequestChoice TITLE "$Title" BODY "$Body" GADGETS "$Gadgets"`
- ENDIF
- ELSE
- set choice 1
- ENDIF
-
- IF "$choice" EQ "1"
- IF NOT EXISTS SYS:Prefs/Presets/Standard
- Makedir SYS:Prefs/Presets/Standard
- ENDIF
- Copy ENVARC:Sys/#?.prefs to SYS:Prefs/Presets/Standard CLONE QUIET
- Copy SYS:Prefs/Presets/Christmas#?.prefs ENVARC:Sys CLONE QUIET
- Copy "SYS:Prefs/Presets/Animated GIFs/(bell|bell.info|christmas tree|christmas tree.info|santa claus 1|santa claus 1.info)" TO SYS:WBStartup CLONE QUIET
- ENDIF
-