Home » Archimedes archive » Archimedes World » AW-1991-02.adf » !AWFeb91/Goodies/PD/!ReadMe
!AWFeb91/Goodies/PD/!ReadMe
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Archimedes archive » Archimedes World » AW-1991-02.adf |
Filename: | !AWFeb91/Goodies/PD/!ReadMe |
Read OK: | ✔ |
File size: | 059B bytes |
Load address: | FFFFFF42 |
Exec address: | C7A3419F |
File contents
Copy/Wipe Options Setter ------------------------ By Mike Ironmonger This program sets the default options used by the Copy, Wipe and Count commands. Copy, for instance, has twelve on/off options which determine the way in which it works. Typing '*Help Copy' gives full details of the options. The default options are held in the system variable Copy$Options. Any of these can be overridden by adding the option letter at the end of the Copy command. Preceding the option letter with ~ turns the option off, while the letter alone turns the option on. Count and Wipe work in an identical manner, but have three options each. This program allows the value of Copy$Options (and the corresponding variables for Count and Wipe) to be set using a Wimp interface, as well as enabling settings to be saved and loaded. When run, the program puts an icon on the icon bar. Clicking on the icon opens a window containing an on/off icon for each option. Clicking Menu over this window allows the default options to be restored or the current options saved. Double clicking on an options file, or dragging it to the icon bar icon, will reload those options. Clicking Menu over the icon bar icon allows the program to be terminated. Note that only the Copy options Force and Stamp affect the Desktop. The other options only affect the operation of the star commands.
00000000 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 00000010 20 20 20 20 20 20 20 20 20 43 6f 70 79 2f 57 69 | Copy/Wi| 00000020 70 65 20 4f 70 74 69 6f 6e 73 20 53 65 74 74 65 |pe Options Sette| 00000030 72 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |r. | 00000040 20 20 20 20 20 20 20 20 20 20 20 2d 2d 2d 2d 2d | -----| 00000050 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 00000060 2d 2d 2d 0a 20 20 20 20 20 20 20 20 20 20 20 20 |---. | 00000070 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 00000080 42 79 20 4d 69 6b 65 20 49 72 6f 6e 6d 6f 6e 67 |By Mike Ironmong| 00000090 65 72 0a 0a 54 68 69 73 20 70 72 6f 67 72 61 6d |er..This program| 000000a0 20 73 65 74 73 20 74 68 65 20 64 65 66 61 75 6c | sets the defaul| 000000b0 74 20 6f 70 74 69 6f 6e 73 20 75 73 65 64 20 62 |t options used b| 000000c0 79 20 74 68 65 20 43 6f 70 79 2c 20 57 69 70 65 |y the Copy, Wipe| 000000d0 20 61 6e 64 20 43 6f 75 6e 74 0a 63 6f 6d 6d 61 | and Count.comma| 000000e0 6e 64 73 2e 20 43 6f 70 79 2c 20 66 6f 72 20 69 |nds. Copy, for i| 000000f0 6e 73 74 61 6e 63 65 2c 20 68 61 73 20 74 77 65 |nstance, has twe| 00000100 6c 76 65 20 6f 6e 2f 6f 66 66 20 6f 70 74 69 6f |lve on/off optio| 00000110 6e 73 20 77 68 69 63 68 20 64 65 74 65 72 6d 69 |ns which determi| 00000120 6e 65 20 74 68 65 0a 77 61 79 20 69 6e 20 77 68 |ne the.way in wh| 00000130 69 63 68 20 69 74 20 77 6f 72 6b 73 2e 20 54 79 |ich it works. Ty| 00000140 70 69 6e 67 20 27 2a 48 65 6c 70 20 43 6f 70 79 |ping '*Help Copy| 00000150 27 20 67 69 76 65 73 20 66 75 6c 6c 20 64 65 74 |' gives full det| 00000160 61 69 6c 73 20 6f 66 20 74 68 65 0a 6f 70 74 69 |ails of the.opti| 00000170 6f 6e 73 2e 20 54 68 65 20 64 65 66 61 75 6c 74 |ons. The default| 00000180 20 6f 70 74 69 6f 6e 73 20 61 72 65 20 68 65 6c | options are hel| 00000190 64 20 69 6e 20 74 68 65 20 73 79 73 74 65 6d 20 |d in the system | 000001a0 76 61 72 69 61 62 6c 65 20 43 6f 70 79 24 4f 70 |variable Copy$Op| 000001b0 74 69 6f 6e 73 2e 0a 41 6e 79 20 6f 66 20 74 68 |tions..Any of th| 000001c0 65 73 65 20 63 61 6e 20 62 65 20 6f 76 65 72 72 |ese can be overr| 000001d0 69 64 64 65 6e 20 62 79 20 61 64 64 69 6e 67 20 |idden by adding | 000001e0 74 68 65 20 6f 70 74 69 6f 6e 20 6c 65 74 74 65 |the option lette| 000001f0 72 20 61 74 20 74 68 65 20 65 6e 64 20 6f 66 20 |r at the end of | 00000200 74 68 65 0a 43 6f 70 79 20 63 6f 6d 6d 61 6e 64 |the.Copy command| 00000210 2e 20 50 72 65 63 65 64 69 6e 67 20 74 68 65 20 |. Preceding the | 00000220 6f 70 74 69 6f 6e 20 6c 65 74 74 65 72 20 77 69 |option letter wi| 00000230 74 68 20 7e 20 74 75 72 6e 73 20 74 68 65 20 6f |th ~ turns the o| 00000240 70 74 69 6f 6e 20 6f 66 66 2c 20 77 68 69 6c 65 |ption off, while| 00000250 0a 74 68 65 20 6c 65 74 74 65 72 20 61 6c 6f 6e |.the letter alon| 00000260 65 20 74 75 72 6e 73 20 74 68 65 20 6f 70 74 69 |e turns the opti| 00000270 6f 6e 20 6f 6e 2e 20 43 6f 75 6e 74 20 61 6e 64 |on on. Count and| 00000280 20 57 69 70 65 20 77 6f 72 6b 20 69 6e 20 61 6e | Wipe work in an| 00000290 20 69 64 65 6e 74 69 63 61 6c 0a 6d 61 6e 6e 65 | identical.manne| 000002a0 72 2c 20 62 75 74 20 68 61 76 65 20 74 68 72 65 |r, but have thre| 000002b0 65 20 6f 70 74 69 6f 6e 73 20 65 61 63 68 2e 0a |e options each..| 000002c0 0a 54 68 69 73 20 70 72 6f 67 72 61 6d 20 61 6c |.This program al| 000002d0 6c 6f 77 73 20 74 68 65 20 76 61 6c 75 65 20 6f |lows the value o| 000002e0 66 20 43 6f 70 79 24 4f 70 74 69 6f 6e 73 20 28 |f Copy$Options (| 000002f0 61 6e 64 20 74 68 65 20 63 6f 72 72 65 73 70 6f |and the correspo| 00000300 6e 64 69 6e 67 0a 76 61 72 69 61 62 6c 65 73 20 |nding.variables | 00000310 66 6f 72 20 43 6f 75 6e 74 20 61 6e 64 20 57 69 |for Count and Wi| 00000320 70 65 29 20 74 6f 20 62 65 20 73 65 74 20 75 73 |pe) to be set us| 00000330 69 6e 67 20 61 20 57 69 6d 70 20 69 6e 74 65 72 |ing a Wimp inter| 00000340 66 61 63 65 2c 20 61 73 20 77 65 6c 6c 20 61 73 |face, as well as| 00000350 0a 65 6e 61 62 6c 69 6e 67 20 73 65 74 74 69 6e |.enabling settin| 00000360 67 73 20 74 6f 20 62 65 20 73 61 76 65 64 20 61 |gs to be saved a| 00000370 6e 64 20 6c 6f 61 64 65 64 2e 0a 0a 57 68 65 6e |nd loaded...When| 00000380 20 72 75 6e 2c 20 74 68 65 20 70 72 6f 67 72 61 | run, the progra| 00000390 6d 20 70 75 74 73 20 61 6e 20 69 63 6f 6e 20 6f |m puts an icon o| 000003a0 6e 20 74 68 65 20 69 63 6f 6e 20 62 61 72 2e 20 |n the icon bar. | 000003b0 43 6c 69 63 6b 69 6e 67 20 6f 6e 20 74 68 65 20 |Clicking on the | 000003c0 69 63 6f 6e 0a 6f 70 65 6e 73 20 61 20 77 69 6e |icon.opens a win| 000003d0 64 6f 77 20 63 6f 6e 74 61 69 6e 69 6e 67 20 61 |dow containing a| 000003e0 6e 20 6f 6e 2f 6f 66 66 20 69 63 6f 6e 20 66 6f |n on/off icon fo| 000003f0 72 20 65 61 63 68 20 6f 70 74 69 6f 6e 2e 20 43 |r each option. C| 00000400 6c 69 63 6b 69 6e 67 20 4d 65 6e 75 20 6f 76 65 |licking Menu ove| 00000410 72 0a 74 68 69 73 20 77 69 6e 64 6f 77 20 61 6c |r.this window al| 00000420 6c 6f 77 73 20 74 68 65 20 64 65 66 61 75 6c 74 |lows the default| 00000430 20 6f 70 74 69 6f 6e 73 20 74 6f 20 62 65 20 72 | options to be r| 00000440 65 73 74 6f 72 65 64 20 6f 72 20 74 68 65 20 63 |estored or the c| 00000450 75 72 72 65 6e 74 20 6f 70 74 69 6f 6e 73 0a 73 |urrent options.s| 00000460 61 76 65 64 2e 20 44 6f 75 62 6c 65 20 63 6c 69 |aved. Double cli| 00000470 63 6b 69 6e 67 20 6f 6e 20 61 6e 20 6f 70 74 69 |cking on an opti| 00000480 6f 6e 73 20 66 69 6c 65 2c 20 6f 72 20 64 72 61 |ons file, or dra| 00000490 67 67 69 6e 67 20 69 74 20 74 6f 20 74 68 65 20 |gging it to the | 000004a0 69 63 6f 6e 20 62 61 72 0a 69 63 6f 6e 2c 20 77 |icon bar.icon, w| 000004b0 69 6c 6c 20 72 65 6c 6f 61 64 20 74 68 6f 73 65 |ill reload those| 000004c0 20 6f 70 74 69 6f 6e 73 2e 20 43 6c 69 63 6b 69 | options. Clicki| 000004d0 6e 67 20 4d 65 6e 75 20 6f 76 65 72 20 74 68 65 |ng Menu over the| 000004e0 20 69 63 6f 6e 20 62 61 72 20 69 63 6f 6e 20 61 | icon bar icon a| 000004f0 6c 6c 6f 77 73 0a 74 68 65 20 70 72 6f 67 72 61 |llows.the progra| 00000500 6d 20 74 6f 20 62 65 20 74 65 72 6d 69 6e 61 74 |m to be terminat| 00000510 65 64 2e 0a 0a 4e 6f 74 65 20 74 68 61 74 20 6f |ed...Note that o| 00000520 6e 6c 79 20 74 68 65 20 43 6f 70 79 20 6f 70 74 |nly the Copy opt| 00000530 69 6f 6e 73 20 46 6f 72 63 65 20 61 6e 64 20 53 |ions Force and S| 00000540 74 61 6d 70 20 61 66 66 65 63 74 20 74 68 65 20 |tamp affect the | 00000550 44 65 73 6b 74 6f 70 2e 20 54 68 65 0a 6f 74 68 |Desktop. The.oth| 00000560 65 72 20 6f 70 74 69 6f 6e 73 20 6f 6e 6c 79 20 |er options only | 00000570 61 66 66 65 63 74 20 74 68 65 20 6f 70 65 72 61 |affect the opera| 00000580 74 69 6f 6e 20 6f 66 20 74 68 65 20 73 74 61 72 |tion of the star| 00000590 20 63 6f 6d 6d 61 6e 64 73 2e 0a | commands..| 0000059b