Home » Archimedes archive » Acorn User » AU 1996-08.adf » Regulars » StarInfo/Boura/Manuals/Bugs

StarInfo/Boura/Manuals/Bugs

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-08.adf » Regulars
Filename: StarInfo/Boura/Manuals/Bugs
Read OK:
File size: 02F7 bytes
Load address: 0000
Exec address: 0000
File contents
Bugs
====

Not so much a bug, rather a problem. (RiscOS and Director were not designed
for what I am trying to do!)  I am fairly sure that the problem is not in my
code, and there is a reasonably easy work round.  FindDrives does this in
order to start CD Player and open the control panel.

This line is intended to start an application and then send it a click on
the iconbar.

Command AppEsure ..... |MClick ......

Unfortunately, only the first one is executed.  I have played around with the
double double quotes etc but I can't persuade it to work!

The work round is to use the command to execute an obey file containing the
two commands. ie

Command Director:Menus.System.ObeyFile

The ObeyFile contains the two commands;

AppEnsure ......
Click .....
00000000  42 75 67 73 0a 3d 3d 3d  3d 0a 0a 4e 6f 74 20 73  |Bugs.====..Not s|
00000010  6f 20 6d 75 63 68 20 61  20 62 75 67 2c 20 72 61  |o much a bug, ra|
00000020  74 68 65 72 20 61 20 70  72 6f 62 6c 65 6d 2e 20  |ther a problem. |
00000030  28 52 69 73 63 4f 53 20  61 6e 64 20 44 69 72 65  |(RiscOS and Dire|
00000040  63 74 6f 72 20 77 65 72  65 20 6e 6f 74 20 64 65  |ctor were not de|
00000050  73 69 67 6e 65 64 0a 66  6f 72 20 77 68 61 74 20  |signed.for what |
00000060  49 20 61 6d 20 74 72 79  69 6e 67 20 74 6f 20 64  |I am trying to d|
00000070  6f 21 29 20 20 49 20 61  6d 20 66 61 69 72 6c 79  |o!)  I am fairly|
00000080  20 73 75 72 65 20 74 68  61 74 20 74 68 65 20 70  | sure that the p|
00000090  72 6f 62 6c 65 6d 20 69  73 20 6e 6f 74 20 69 6e  |roblem is not in|
000000a0  20 6d 79 0a 63 6f 64 65  2c 20 61 6e 64 20 74 68  | my.code, and th|
000000b0  65 72 65 20 69 73 20 61  20 72 65 61 73 6f 6e 61  |ere is a reasona|
000000c0  62 6c 79 20 65 61 73 79  20 77 6f 72 6b 20 72 6f  |bly easy work ro|
000000d0  75 6e 64 2e 20 20 46 69  6e 64 44 72 69 76 65 73  |und.  FindDrives|
000000e0  20 64 6f 65 73 20 74 68  69 73 20 69 6e 0a 6f 72  | does this in.or|
000000f0  64 65 72 20 74 6f 20 73  74 61 72 74 20 43 44 20  |der to start CD |
00000100  50 6c 61 79 65 72 20 61  6e 64 20 6f 70 65 6e 20  |Player and open |
00000110  74 68 65 20 63 6f 6e 74  72 6f 6c 20 70 61 6e 65  |the control pane|
00000120  6c 2e 0a 0a 54 68 69 73  20 6c 69 6e 65 20 69 73  |l...This line is|
00000130  20 69 6e 74 65 6e 64 65  64 20 74 6f 20 73 74 61  | intended to sta|
00000140  72 74 20 61 6e 20 61 70  70 6c 69 63 61 74 69 6f  |rt an applicatio|
00000150  6e 20 61 6e 64 20 74 68  65 6e 20 73 65 6e 64 20  |n and then send |
00000160  69 74 20 61 20 63 6c 69  63 6b 20 6f 6e 0a 74 68  |it a click on.th|
00000170  65 20 69 63 6f 6e 62 61  72 2e 0a 0a 43 6f 6d 6d  |e iconbar...Comm|
00000180  61 6e 64 20 41 70 70 45  73 75 72 65 20 2e 2e 2e  |and AppEsure ...|
00000190  2e 2e 20 7c 4d 43 6c 69  63 6b 20 2e 2e 2e 2e 2e  |.. |MClick .....|
000001a0  2e 0a 0a 55 6e 66 6f 72  74 75 6e 61 74 65 6c 79  |...Unfortunately|
000001b0  2c 20 6f 6e 6c 79 20 74  68 65 20 66 69 72 73 74  |, only the first|
000001c0  20 6f 6e 65 20 69 73 20  65 78 65 63 75 74 65 64  | one is executed|
000001d0  2e 20 20 49 20 68 61 76  65 20 70 6c 61 79 65 64  |.  I have played|
000001e0  20 61 72 6f 75 6e 64 20  77 69 74 68 20 74 68 65  | around with the|
000001f0  0a 64 6f 75 62 6c 65 20  64 6f 75 62 6c 65 20 71  |.double double q|
00000200  75 6f 74 65 73 20 65 74  63 20 62 75 74 20 49 20  |uotes etc but I |
00000210  63 61 6e 27 74 20 70 65  72 73 75 61 64 65 20 69  |can't persuade i|
00000220  74 20 74 6f 20 77 6f 72  6b 21 0a 0a 54 68 65 20  |t to work!..The |
00000230  77 6f 72 6b 20 72 6f 75  6e 64 20 69 73 20 74 6f  |work round is to|
00000240  20 75 73 65 20 74 68 65  20 63 6f 6d 6d 61 6e 64  | use the command|
00000250  20 74 6f 20 65 78 65 63  75 74 65 20 61 6e 20 6f  | to execute an o|
00000260  62 65 79 20 66 69 6c 65  20 63 6f 6e 74 61 69 6e  |bey file contain|
00000270  69 6e 67 20 74 68 65 0a  74 77 6f 20 63 6f 6d 6d  |ing the.two comm|
00000280  61 6e 64 73 2e 20 69 65  0a 0a 43 6f 6d 6d 61 6e  |ands. ie..Comman|
00000290  64 20 44 69 72 65 63 74  6f 72 3a 4d 65 6e 75 73  |d Director:Menus|
000002a0  2e 53 79 73 74 65 6d 2e  4f 62 65 79 46 69 6c 65  |.System.ObeyFile|
000002b0  0a 0a 54 68 65 20 4f 62  65 79 46 69 6c 65 20 63  |..The ObeyFile c|
000002c0  6f 6e 74 61 69 6e 73 20  74 68 65 20 74 77 6f 20  |ontains the two |
000002d0  63 6f 6d 6d 61 6e 64 73  3b 0a 0a 41 70 70 45 6e  |commands;..AppEn|
000002e0  73 75 72 65 20 2e 2e 2e  2e 2e 2e 0a 43 6c 69 63  |sure .......Clic|
000002f0  6b 20 2e 2e 2e 2e 2e                              |k .....|
000002f7