; ----- Install a tune as the default alarm ; commenced: 8/2/88 R.McG ; ---------------------------------------------------------------- ; Note: This script creates the file COM-AND.TUN on the default ; subdirectory (if no COM-AND= subdir, or if COM-AND.TUN already ; exists on default), or on the COM-AND= subdir. ; ---------------------------------------------------------------- ; ; First, draw a box ; LEGEND " Select an alarm tune" ON ESCAPE GOSUB EXIT GOTO Start ; ; Subroutine to intercept ESCAPE ; Exit: RESTORE ; Restore saved screen area EXIT ; No window foolishness ; ; Start by opening a window ; Start: GOSUB Window ; Open a window ; ; Now, look for a keypress ; Loop: KEYGET S1 ; Read a single key SWITCH S1 CASE "1" ; First call by Louis M. Sander S0 = "T200MNO2G24O3C24E24G8G24G24G24G8E8E24E24E24E8C8E8C8O2G8" PLAY S0 ; Play the current selection ENDCASE CASE "2" ; William Tell S0 = "t220l16o3mnb4p8msbbmnb4p8msbbb8g#8e8g#8b8g#8b8o4e8o3b8g#8e8g#8b8g#8b8o4e8o3mnb4p8msbb" PLAY S0 ; Play the current selection ENDCASE CASE "3" ; Theme from dragnet S0 = "ms t250 o2 c2d8e-cp4 >c2d8e-cp4g-1 p2" PLAY S0 ; Play the current selection ENDCASE CASE "4" ; Leave it to Beaver S0 = "ms t190lO2L8CL4FL8A>CDL8CCFL4D L8