Home » Archimedes archive » Archimedes World » AW-1991-02.adf » !AWFeb91/Goodies/PD/!FS_OptSet/!Help

!AWFeb91/Goodies/PD/!FS_OptSet/!Help

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/!FS_OptSet/!Help
Read OK:
File size: 0534 bytes
Load address: FFFFFF42
Exec address: 2C9AAB93
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  43 6f 70 79 2f 57 69 70  65 20 4f 70 74 69 6f 6e  |Copy/Wipe Option|
00000010  73 20 53 65 74 74 65 72  0a 62 79 20 4d 69 6b 65  |s Setter.by Mike|
00000020  20 49 72 6f 6e 6d 6f 6e  67 65 72 0a 0a 54 68 69  | Ironmonger..Thi|
00000030  73 20 70 72 6f 67 72 61  6d 20 73 65 74 73 20 74  |s program sets t|
00000040  68 65 20 64 65 66 61 75  6c 74 20 6f 70 74 69 6f  |he default optio|
00000050  6e 73 20 75 73 65 64 20  62 79 20 74 68 65 20 43  |ns used by the C|
00000060  6f 70 79 2c 20 57 69 70  65 20 61 6e 64 20 43 6f  |opy, Wipe and Co|
00000070  75 6e 74 20 63 6f 6d 6d  61 6e 64 73 2e 20 43 6f  |unt commands. Co|
00000080  70 79 2c 20 66 6f 72 20  69 6e 73 74 61 6e 63 65  |py, for instance|
00000090  2c 20 68 61 73 20 74 77  65 6c 76 65 20 6f 6e 2f  |, has twelve on/|
000000a0  6f 66 66 20 6f 70 74 69  6f 6e 73 20 77 68 69 63  |off options whic|
000000b0  68 20 64 65 74 65 72 6d  69 6e 65 20 74 68 65 20  |h determine the |
000000c0  77 61 79 20 69 6e 20 77  68 69 63 68 20 69 74 20  |way in which it |
000000d0  77 6f 72 6b 73 2e 20 54  79 70 69 6e 67 20 27 2a  |works. Typing '*|
000000e0  48 65 6c 70 20 43 6f 70  79 27 20 67 69 76 65 73  |Help Copy' gives|
000000f0  20 66 75 6c 6c 20 64 65  74 61 69 6c 73 20 6f 66  | full details of|
00000100  20 74 68 65 20 6f 70 74  69 6f 6e 73 2e 20 54 68  | the options. Th|
00000110  65 20 64 65 66 61 75 6c  74 20 6f 70 74 69 6f 6e  |e default option|
00000120  73 20 61 72 65 20 68 65  6c 64 20 69 6e 20 74 68  |s are held in th|
00000130  65 20 73 79 73 74 65 6d  20 76 61 72 69 61 62 6c  |e system variabl|
00000140  65 20 43 6f 70 79 24 4f  70 74 69 6f 6e 73 2e 20  |e Copy$Options. |
00000150  41 6e 79 20 6f 66 20 74  68 65 73 65 20 63 61 6e  |Any of these can|
00000160  20 62 65 20 6f 76 65 72  72 69 64 64 65 6e 20 62  | be overridden b|
00000170  79 20 61 64 64 69 6e 67  20 74 68 65 20 6f 70 74  |y adding the opt|
00000180  69 6f 6e 20 6c 65 74 74  65 72 20 61 74 20 74 68  |ion letter at th|
00000190  65 20 65 6e 64 20 6f 66  20 74 68 65 20 43 6f 70  |e end of the Cop|
000001a0  79 20 63 6f 6d 6d 61 6e  64 2e 20 50 72 65 63 65  |y command. Prece|
000001b0  64 69 6e 67 20 74 68 65  20 6f 70 74 69 6f 6e 20  |ding the option |
000001c0  6c 65 74 74 65 72 20 77  69 74 68 20 7e 20 74 75  |letter with ~ tu|
000001d0  72 6e 73 20 74 68 65 20  6f 70 74 69 6f 6e 20 6f  |rns the option o|
000001e0  66 66 2c 20 77 68 69 6c  65 20 74 68 65 20 6c 65  |ff, while the le|
000001f0  74 74 65 72 20 61 6c 6f  6e 65 20 74 75 72 6e 73  |tter alone turns|
00000200  20 74 68 65 20 6f 70 74  69 6f 6e 20 6f 6e 2e 20  | the option on. |
00000210  43 6f 75 6e 74 20 61 6e  64 20 57 69 70 65 20 77  |Count and Wipe w|
00000220  6f 72 6b 20 69 6e 20 61  6e 20 69 64 65 6e 74 69  |ork in an identi|
00000230  63 61 6c 20 6d 61 6e 6e  65 72 2c 20 62 75 74 20  |cal manner, but |
00000240  68 61 76 65 20 74 68 72  65 65 20 6f 70 74 69 6f  |have three optio|
00000250  6e 73 20 65 61 63 68 2e  0a 0a 54 68 69 73 20 70  |ns each...This p|
00000260  72 6f 67 72 61 6d 20 61  6c 6c 6f 77 73 20 74 68  |rogram allows th|
00000270  65 20 76 61 6c 75 65 20  6f 66 20 43 6f 70 79 24  |e value of Copy$|
00000280  4f 70 74 69 6f 6e 73 20  28 61 6e 64 20 74 68 65  |Options (and the|
00000290  20 63 6f 72 72 65 73 70  6f 6e 64 69 6e 67 20 76  | corresponding v|
000002a0  61 72 69 61 62 6c 65 73  20 66 6f 72 20 43 6f 75  |ariables for Cou|
000002b0  6e 74 20 61 6e 64 20 57  69 70 65 29 20 74 6f 20  |nt and Wipe) to |
000002c0  62 65 20 73 65 74 20 75  73 69 6e 67 20 61 20 57  |be set using a W|
000002d0  69 6d 70 20 69 6e 74 65  72 66 61 63 65 2c 20 61  |imp interface, a|
000002e0  73 20 77 65 6c 6c 20 61  73 20 65 6e 61 62 6c 69  |s well as enabli|
000002f0  6e 67 20 73 65 74 74 69  6e 67 73 20 74 6f 20 62  |ng settings to b|
00000300  65 20 73 61 76 65 64 20  61 6e 64 20 6c 6f 61 64  |e saved and load|
00000310  65 64 2e 0a 0a 57 68 65  6e 20 72 75 6e 2c 20 74  |ed...When run, t|
00000320  68 65 20 70 72 6f 67 72  61 6d 20 70 75 74 73 20  |he program puts |
00000330  61 6e 20 69 63 6f 6e 20  6f 6e 20 74 68 65 20 69  |an icon on the i|
00000340  63 6f 6e 20 62 61 72 2e  20 43 6c 69 63 6b 69 6e  |con bar. Clickin|
00000350  67 20 6f 6e 20 74 68 65  20 69 63 6f 6e 20 6f 70  |g on the icon op|
00000360  65 6e 73 20 61 20 77 69  6e 64 6f 77 20 63 6f 6e  |ens a window con|
00000370  74 61 69 6e 69 6e 67 20  61 6e 20 6f 6e 2f 6f 66  |taining an on/of|
00000380  66 20 69 63 6f 6e 20 66  6f 72 20 65 61 63 68 20  |f icon for each |
00000390  6f 70 74 69 6f 6e 2e 20  43 6c 69 63 6b 69 6e 67  |option. Clicking|
000003a0  20 4d 65 6e 75 20 6f 76  65 72 20 74 68 69 73 20  | Menu over this |
000003b0  77 69 6e 64 6f 77 20 61  6c 6c 6f 77 73 20 74 68  |window allows th|
000003c0  65 20 64 65 66 61 75 6c  74 20 6f 70 74 69 6f 6e  |e default option|
000003d0  73 20 74 6f 20 62 65 20  72 65 73 74 6f 72 65 64  |s to be restored|
000003e0  20 6f 72 20 74 68 65 20  63 75 72 72 65 6e 74 20  | or the current |
000003f0  6f 70 74 69 6f 6e 73 20  73 61 76 65 64 2e 20 44  |options saved. D|
00000400  6f 75 62 6c 65 20 63 6c  69 63 6b 69 6e 67 20 6f  |ouble clicking o|
00000410  6e 20 61 6e 20 6f 70 74  69 6f 6e 73 20 66 69 6c  |n an options fil|
00000420  65 2c 20 6f 72 20 64 72  61 67 67 69 6e 67 20 69  |e, or dragging i|
00000430  74 20 74 6f 20 74 68 65  20 69 63 6f 6e 20 62 61  |t to the icon ba|
00000440  72 20 69 63 6f 6e 2c 20  77 69 6c 6c 20 72 65 6c  |r icon, will rel|
00000450  6f 61 64 20 74 68 6f 73  65 20 6f 70 74 69 6f 6e  |oad those option|
00000460  73 2e 20 43 6c 69 63 6b  69 6e 67 20 4d 65 6e 75  |s. Clicking Menu|
00000470  20 6f 76 65 72 20 74 68  65 20 69 63 6f 6e 20 62  | over the icon b|
00000480  61 72 20 69 63 6f 6e 20  61 6c 6c 6f 77 73 20 74  |ar icon allows t|
00000490  68 65 20 70 72 6f 67 72  61 6d 20 74 6f 20 62 65  |he program to be|
000004a0  20 74 65 72 6d 69 6e 61  74 65 64 2e 0a 0a 4e 6f  | terminated...No|
000004b0  74 65 20 74 68 61 74 20  6f 6e 6c 79 20 74 68 65  |te that only the|
000004c0  20 43 6f 70 79 20 6f 70  74 69 6f 6e 73 20 46 6f  | Copy options Fo|
000004d0  72 63 65 20 61 6e 64 20  53 74 61 6d 70 20 61 66  |rce and Stamp af|
000004e0  66 65 63 74 20 74 68 65  20 44 65 73 6b 74 6f 70  |fect the Desktop|
000004f0  2e 20 54 68 65 20 6f 74  68 65 72 20 6f 70 74 69  |. The other opti|
00000500  6f 6e 73 20 6f 6e 6c 79  20 61 66 66 65 63 74 20  |ons only affect |
00000510  74 68 65 20 6f 70 65 72  61 74 69 6f 6e 20 6f 66  |the operation of|
00000520  20 74 68 65 20 73 74 61  72 20 63 6f 6d 6d 61 6e  | the star comman|
00000530  64 73 2e 0a                                       |ds..|
00000534