Home » Archimedes archive » Acorn User » AU 1993-10.adf » !OmniDesk_OmniDesk » !OmniDesk/Utilities/!Coords/!Help
!OmniDesk/Utilities/!Coords/!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 » Acorn User » AU 1993-10.adf » !OmniDesk_OmniDesk |
Filename: | !OmniDesk/Utilities/!Coords/!Help |
Read OK: | ✔ |
File size: | 0597 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
Coordinates ~~~~~~~~~~~ An OmniDesk Utility by Richard G. Hallas Coordinates supplies various items of information about the mouse pointer. The left half of the window shows its current coordinates in both screen pixels and Operating System units, which are more useful to programmers. The coordinates labelled "Window relative" are of particular interest and use to programmers, as they give the coordinates of the pointer within whatever window it is pointing to: that is, each individual window has its own set of coordinates. In fact, the origin of most windows is at the top left corner (in contrast to the screen, where it is at the bottom left); however, that is not universally true. The unique numeric identifiers of windows and icons are also displayed. RISC OS 3 users will also find that correct information is shown for the icon-bar coordinates (which is not possible under RISC OS 2). Opening the main menu over the coordinates window presents the main utility menu: 'Info' leads to a standard information window. 'Window position' leads to a window which lets you determine where the coordinates window appears on the screen. This corresponds to an invisible grid, and when you change screen mode the window will snap to this grid. (This feature can be disabled by clicking <Adjust> on the small window icon, which makes it disappear.) 'Save settings' will save the screen location of the coordinates window.
00000000 43 6f 6f 72 64 69 6e 61 74 65 73 0a 7e 7e 7e 7e |Coordinates.~~~~| 00000010 7e 7e 7e 7e 7e 7e 7e 0a 0a 41 6e 20 4f 6d 6e 69 |~~~~~~~..An Omni| 00000020 44 65 73 6b 20 55 74 69 6c 69 74 79 0a 62 79 20 |Desk Utility.by | 00000030 52 69 63 68 61 72 64 20 47 2e 20 48 61 6c 6c 61 |Richard G. Halla| 00000040 73 0a 0a 43 6f 6f 72 64 69 6e 61 74 65 73 20 73 |s..Coordinates s| 00000050 75 70 70 6c 69 65 73 20 76 61 72 69 6f 75 73 20 |upplies various | 00000060 69 74 65 6d 73 20 6f 66 20 69 6e 66 6f 72 6d 61 |items of informa| 00000070 74 69 6f 6e 20 61 62 6f 75 74 20 74 68 65 20 6d |tion about the m| 00000080 6f 75 73 65 20 70 6f 69 6e 74 65 72 2e 20 54 68 |ouse pointer. Th| 00000090 65 20 6c 65 66 74 20 68 61 6c 66 20 6f 66 20 74 |e left half of t| 000000a0 68 65 20 77 69 6e 64 6f 77 20 73 68 6f 77 73 20 |he window shows | 000000b0 69 74 73 20 63 75 72 72 65 6e 74 20 63 6f 6f 72 |its current coor| 000000c0 64 69 6e 61 74 65 73 20 69 6e 20 62 6f 74 68 20 |dinates in both | 000000d0 73 63 72 65 65 6e 20 70 69 78 65 6c 73 20 61 6e |screen pixels an| 000000e0 64 20 4f 70 65 72 61 74 69 6e 67 20 53 79 73 74 |d Operating Syst| 000000f0 65 6d 20 75 6e 69 74 73 2c 20 77 68 69 63 68 20 |em units, which | 00000100 61 72 65 20 6d 6f 72 65 20 75 73 65 66 75 6c 20 |are more useful | 00000110 74 6f 20 70 72 6f 67 72 61 6d 6d 65 72 73 2e 20 |to programmers. | 00000120 54 68 65 20 63 6f 6f 72 64 69 6e 61 74 65 73 20 |The coordinates | 00000130 6c 61 62 65 6c 6c 65 64 20 22 57 69 6e 64 6f 77 |labelled "Window| 00000140 20 72 65 6c 61 74 69 76 65 22 20 61 72 65 20 6f | relative" are o| 00000150 66 20 70 61 72 74 69 63 75 6c 61 72 20 69 6e 74 |f particular int| 00000160 65 72 65 73 74 20 61 6e 64 20 75 73 65 20 74 6f |erest and use to| 00000170 20 70 72 6f 67 72 61 6d 6d 65 72 73 2c 20 61 73 | programmers, as| 00000180 20 74 68 65 79 20 67 69 76 65 20 74 68 65 20 63 | they give the c| 00000190 6f 6f 72 64 69 6e 61 74 65 73 20 6f 66 20 74 68 |oordinates of th| 000001a0 65 20 70 6f 69 6e 74 65 72 20 77 69 74 68 69 6e |e pointer within| 000001b0 20 77 68 61 74 65 76 65 72 20 77 69 6e 64 6f 77 | whatever window| 000001c0 20 69 74 20 69 73 20 70 6f 69 6e 74 69 6e 67 20 | it is pointing | 000001d0 74 6f 3a 20 74 68 61 74 20 69 73 2c 20 65 61 63 |to: that is, eac| 000001e0 68 20 69 6e 64 69 76 69 64 75 61 6c 20 77 69 6e |h individual win| 000001f0 64 6f 77 20 68 61 73 20 69 74 73 20 6f 77 6e 20 |dow has its own | 00000200 73 65 74 20 6f 66 20 63 6f 6f 72 64 69 6e 61 74 |set of coordinat| 00000210 65 73 2e 20 49 6e 20 66 61 63 74 2c 20 74 68 65 |es. In fact, the| 00000220 20 6f 72 69 67 69 6e 20 6f 66 20 6d 6f 73 74 20 | origin of most | 00000230 77 69 6e 64 6f 77 73 20 69 73 20 61 74 20 74 68 |windows is at th| 00000240 65 20 74 6f 70 20 6c 65 66 74 20 63 6f 72 6e 65 |e top left corne| 00000250 72 20 28 69 6e 20 63 6f 6e 74 72 61 73 74 20 74 |r (in contrast t| 00000260 6f 20 74 68 65 20 73 63 72 65 65 6e 2c 20 77 68 |o the screen, wh| 00000270 65 72 65 20 69 74 20 69 73 20 61 74 20 74 68 65 |ere it is at the| 00000280 20 62 6f 74 74 6f 6d 20 6c 65 66 74 29 3b 20 68 | bottom left); h| 00000290 6f 77 65 76 65 72 2c 20 74 68 61 74 20 69 73 20 |owever, that is | 000002a0 6e 6f 74 20 75 6e 69 76 65 72 73 61 6c 6c 79 20 |not universally | 000002b0 74 72 75 65 2e 0a 0a 54 68 65 20 75 6e 69 71 75 |true...The uniqu| 000002c0 65 20 6e 75 6d 65 72 69 63 20 69 64 65 6e 74 69 |e numeric identi| 000002d0 66 69 65 72 73 20 6f 66 20 77 69 6e 64 6f 77 73 |fiers of windows| 000002e0 20 61 6e 64 20 69 63 6f 6e 73 20 61 72 65 20 61 | and icons are a| 000002f0 6c 73 6f 20 64 69 73 70 6c 61 79 65 64 2e 20 52 |lso displayed. R| 00000300 49 53 43 20 4f 53 20 33 20 75 73 65 72 73 20 77 |ISC OS 3 users w| 00000310 69 6c 6c 20 61 6c 73 6f 20 66 69 6e 64 20 74 68 |ill also find th| 00000320 61 74 20 63 6f 72 72 65 63 74 20 69 6e 66 6f 72 |at correct infor| 00000330 6d 61 74 69 6f 6e 20 69 73 20 73 68 6f 77 6e 20 |mation is shown | 00000340 66 6f 72 20 74 68 65 20 69 63 6f 6e 2d 62 61 72 |for the icon-bar| 00000350 20 63 6f 6f 72 64 69 6e 61 74 65 73 20 28 77 68 | coordinates (wh| 00000360 69 63 68 20 69 73 20 6e 6f 74 20 70 6f 73 73 69 |ich is not possi| 00000370 62 6c 65 20 75 6e 64 65 72 20 52 49 53 43 20 4f |ble under RISC O| 00000380 53 20 32 29 2e 0a 0a 4f 70 65 6e 69 6e 67 20 74 |S 2)...Opening t| 00000390 68 65 20 6d 61 69 6e 20 6d 65 6e 75 20 6f 76 65 |he main menu ove| 000003a0 72 20 74 68 65 20 63 6f 6f 72 64 69 6e 61 74 65 |r the coordinate| 000003b0 73 20 77 69 6e 64 6f 77 20 70 72 65 73 65 6e 74 |s window present| 000003c0 73 20 74 68 65 20 6d 61 69 6e 20 75 74 69 6c 69 |s the main utili| 000003d0 74 79 20 6d 65 6e 75 3a 0a 0a 27 49 6e 66 6f 27 |ty menu:..'Info'| 000003e0 20 6c 65 61 64 73 20 74 6f 20 61 20 73 74 61 6e | leads to a stan| 000003f0 64 61 72 64 20 69 6e 66 6f 72 6d 61 74 69 6f 6e |dard information| 00000400 20 77 69 6e 64 6f 77 2e 0a 0a 27 57 69 6e 64 6f | window...'Windo| 00000410 77 20 70 6f 73 69 74 69 6f 6e 27 20 6c 65 61 64 |w position' lead| 00000420 73 20 74 6f 20 61 20 77 69 6e 64 6f 77 20 77 68 |s to a window wh| 00000430 69 63 68 20 6c 65 74 73 20 79 6f 75 20 64 65 74 |ich lets you det| 00000440 65 72 6d 69 6e 65 20 77 68 65 72 65 20 74 68 65 |ermine where the| 00000450 20 63 6f 6f 72 64 69 6e 61 74 65 73 20 77 69 6e | coordinates win| 00000460 64 6f 77 20 61 70 70 65 61 72 73 20 6f 6e 20 74 |dow appears on t| 00000470 68 65 20 73 63 72 65 65 6e 2e 20 54 68 69 73 20 |he screen. This | 00000480 63 6f 72 72 65 73 70 6f 6e 64 73 20 74 6f 20 61 |corresponds to a| 00000490 6e 20 69 6e 76 69 73 69 62 6c 65 20 67 72 69 64 |n invisible grid| 000004a0 2c 20 61 6e 64 20 77 68 65 6e 20 79 6f 75 20 63 |, and when you c| 000004b0 68 61 6e 67 65 20 73 63 72 65 65 6e 20 6d 6f 64 |hange screen mod| 000004c0 65 20 74 68 65 20 77 69 6e 64 6f 77 20 77 69 6c |e the window wil| 000004d0 6c 20 73 6e 61 70 20 74 6f 20 74 68 69 73 20 67 |l snap to this g| 000004e0 72 69 64 2e 20 28 54 68 69 73 20 66 65 61 74 75 |rid. (This featu| 000004f0 72 65 20 63 61 6e 20 62 65 20 64 69 73 61 62 6c |re can be disabl| 00000500 65 64 20 62 79 20 63 6c 69 63 6b 69 6e 67 20 3c |ed by clicking <| 00000510 41 64 6a 75 73 74 3e 20 6f 6e 20 74 68 65 20 73 |Adjust> on the s| 00000520 6d 61 6c 6c 20 77 69 6e 64 6f 77 20 69 63 6f 6e |mall window icon| 00000530 2c 20 77 68 69 63 68 20 6d 61 6b 65 73 20 69 74 |, which makes it| 00000540 20 64 69 73 61 70 70 65 61 72 2e 29 0a 0a 27 53 | disappear.)..'S| 00000550 61 76 65 20 73 65 74 74 69 6e 67 73 27 20 77 69 |ave settings' wi| 00000560 6c 6c 20 73 61 76 65 20 74 68 65 20 73 63 72 65 |ll save the scre| 00000570 65 6e 20 6c 6f 63 61 74 69 6f 6e 20 6f 66 20 74 |en location of t| 00000580 68 65 20 63 6f 6f 72 64 69 6e 61 74 65 73 20 77 |he coordinates w| 00000590 69 6e 64 6f 77 2e 0a |indow..| 00000597