Home » Archimedes archive » Acorn User » AU 1996-Xmas.adf » Regulars » StarInfo/Bullock/!CloseUtil/!Run

StarInfo/Bullock/!CloseUtil/!Run

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 » Acorn User » AU 1996-Xmas.adf » Regulars
Filename: StarInfo/Bullock/!CloseUtil/!Run
Read OK:
File size: 0229 bytes
Load address: 0000
Exec address: 0000
File contents
RMEnsure Director 0.21 Error You must load Director before CloseUtil.
RMEnsure CloseUtil 1.00 RMLoad <Obey$Dir>.CloseUtil
|
| Only load PinFix if Pinboard module is present
|
WimpSlot -min 12k
SetEval CloseUtil$Temp 1
RMEnsure Pinboard 0.00 SetEval CloseUtil$Temp 0
If <CloseUtil$Temp> = 1 Then RMEnsure PinFix 1.00 Run <Obey$Dir>.PinFix
UnSet CloseUtil$Temp
|
| Add the menu to the close icon
|
SetEval CloseIcon &FFFFFFFD
DirectorFilter "Close Icon" * "Dynamic:DirectorObey <Obey$Dir>.Menu" -icon CloseIcon -menu
|
| Start the task
|
Desktop_CloseUtil
00000000  52 4d 45 6e 73 75 72 65  20 44 69 72 65 63 74 6f  |RMEnsure Directo|
00000010  72 20 30 2e 32 31 20 45  72 72 6f 72 20 59 6f 75  |r 0.21 Error You|
00000020  20 6d 75 73 74 20 6c 6f  61 64 20 44 69 72 65 63  | must load Direc|
00000030  74 6f 72 20 62 65 66 6f  72 65 20 43 6c 6f 73 65  |tor before Close|
00000040  55 74 69 6c 2e 0a 52 4d  45 6e 73 75 72 65 20 43  |Util..RMEnsure C|
00000050  6c 6f 73 65 55 74 69 6c  20 31 2e 30 30 20 52 4d  |loseUtil 1.00 RM|
00000060  4c 6f 61 64 20 3c 4f 62  65 79 24 44 69 72 3e 2e  |Load <Obey$Dir>.|
00000070  43 6c 6f 73 65 55 74 69  6c 0a 7c 0a 7c 20 4f 6e  |CloseUtil.|.| On|
00000080  6c 79 20 6c 6f 61 64 20  50 69 6e 46 69 78 20 69  |ly load PinFix i|
00000090  66 20 50 69 6e 62 6f 61  72 64 20 6d 6f 64 75 6c  |f Pinboard modul|
000000a0  65 20 69 73 20 70 72 65  73 65 6e 74 0a 7c 0a 57  |e is present.|.W|
000000b0  69 6d 70 53 6c 6f 74 20  2d 6d 69 6e 20 31 32 6b  |impSlot -min 12k|
000000c0  0a 53 65 74 45 76 61 6c  20 43 6c 6f 73 65 55 74  |.SetEval CloseUt|
000000d0  69 6c 24 54 65 6d 70 20  31 0a 52 4d 45 6e 73 75  |il$Temp 1.RMEnsu|
000000e0  72 65 20 50 69 6e 62 6f  61 72 64 20 30 2e 30 30  |re Pinboard 0.00|
000000f0  20 53 65 74 45 76 61 6c  20 43 6c 6f 73 65 55 74  | SetEval CloseUt|
00000100  69 6c 24 54 65 6d 70 20  30 0a 49 66 20 3c 43 6c  |il$Temp 0.If <Cl|
00000110  6f 73 65 55 74 69 6c 24  54 65 6d 70 3e 20 3d 20  |oseUtil$Temp> = |
00000120  31 20 54 68 65 6e 20 52  4d 45 6e 73 75 72 65 20  |1 Then RMEnsure |
00000130  50 69 6e 46 69 78 20 31  2e 30 30 20 52 75 6e 20  |PinFix 1.00 Run |
00000140  3c 4f 62 65 79 24 44 69  72 3e 2e 50 69 6e 46 69  |<Obey$Dir>.PinFi|
00000150  78 0a 55 6e 53 65 74 20  43 6c 6f 73 65 55 74 69  |x.UnSet CloseUti|
00000160  6c 24 54 65 6d 70 0a 7c  0a 7c 20 41 64 64 20 74  |l$Temp.|.| Add t|
00000170  68 65 20 6d 65 6e 75 20  74 6f 20 74 68 65 20 63  |he menu to the c|
00000180  6c 6f 73 65 20 69 63 6f  6e 0a 7c 0a 53 65 74 45  |lose icon.|.SetE|
00000190  76 61 6c 20 43 6c 6f 73  65 49 63 6f 6e 20 26 46  |val CloseIcon &F|
000001a0  46 46 46 46 46 46 44 0a  44 69 72 65 63 74 6f 72  |FFFFFFD.Director|
000001b0  46 69 6c 74 65 72 20 22  43 6c 6f 73 65 20 49 63  |Filter "Close Ic|
000001c0  6f 6e 22 20 2a 20 22 44  79 6e 61 6d 69 63 3a 44  |on" * "Dynamic:D|
000001d0  69 72 65 63 74 6f 72 4f  62 65 79 20 3c 4f 62 65  |irectorObey <Obe|
000001e0  79 24 44 69 72 3e 2e 4d  65 6e 75 22 20 2d 69 63  |y$Dir>.Menu" -ic|
000001f0  6f 6e 20 43 6c 6f 73 65  49 63 6f 6e 20 2d 6d 65  |on CloseIcon -me|
00000200  6e 75 0a 7c 0a 7c 20 53  74 61 72 74 20 74 68 65  |nu.|.| Start the|
00000210  20 74 61 73 6b 0a 7c 0a  44 65 73 6b 74 6f 70 5f  | task.|.Desktop_|
00000220  43 6c 6f 73 65 55 74 69  6c                       |CloseUtil|
00000229