Home » Archimedes archive » Acorn User » AU 1993-11.adf » !OmniDesk_OmniDesk » !OmniDesk/Utilities/!WindFlags/!Help

!OmniDesk/Utilities/!WindFlags/!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-11.adf » !OmniDesk_OmniDesk
Filename: !OmniDesk/Utilities/!WindFlags/!Help
Read OK:
File size: 07F6 bytes
Load address: 0000
Exec address: 0000
File contents
Window Flags
~~~~~~~~~~~~

An OmniDesk Utility
by Richard G. Hallas

Window Flags is a combined flag calculator and spy application for
windows.

When spying, the information displayed in the Window Flags window will
change as you move the pointer around the desktop. If there is no
window under the pointer, all the contents of the Window Flags window
will be blank or switched off.

When not spying on windows, you can set the switches on and off with
the pointer and enter values into the writable icons. As you do this,
the contents of the Window Flags window will update. Alternatively,
you can enter a new value into the window flags: when you press
Return, the Window Flags window will update to show you what the value
means.

If the spy option is off, you can also drag the contents of the window
flags icon out into another application. This is useful if you want to
enter the number you have calculated into your text editor. (Risc OS 3
users will find the dragged value takes the form of a piece of
transparent perspex with the number 'etched' on it.)

Consult the Programmer's Reference Manual for details about the
meanings of the specific window flags. Note that the last three window
flags are only applicable to users of Risc OS 3 or later.

Clicking Menu over the Window Flags window presents the main utility
menu:

'Info' leads to a standard information window.

'Spy on windows' will be ticked if it is switched on. When on, the
contents of the Window Flags window update to be appropriate to the
window under the mouse pointer. When off, you can use the window as a
window flag calculator.

'Window position' leads to a window which lets you determine where the
Window Flags 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 Window Flags
window, along with the spy setting.
00000000  57 69 6e 64 6f 77 20 46  6c 61 67 73 0a 7e 7e 7e  |Window Flags.~~~|
00000010  7e 7e 7e 7e 7e 7e 7e 7e  7e 0a 0a 41 6e 20 4f 6d  |~~~~~~~~~..An Om|
00000020  6e 69 44 65 73 6b 20 55  74 69 6c 69 74 79 0a 62  |niDesk Utility.b|
00000030  79 20 52 69 63 68 61 72  64 20 47 2e 20 48 61 6c  |y Richard G. Hal|
00000040  6c 61 73 0a 0a 57 69 6e  64 6f 77 20 46 6c 61 67  |las..Window Flag|
00000050  73 20 69 73 20 61 20 63  6f 6d 62 69 6e 65 64 20  |s is a combined |
00000060  66 6c 61 67 20 63 61 6c  63 75 6c 61 74 6f 72 20  |flag calculator |
00000070  61 6e 64 20 73 70 79 20  61 70 70 6c 69 63 61 74  |and spy applicat|
00000080  69 6f 6e 20 66 6f 72 0a  77 69 6e 64 6f 77 73 2e  |ion for.windows.|
00000090  0a 0a 57 68 65 6e 20 73  70 79 69 6e 67 2c 20 74  |..When spying, t|
000000a0  68 65 20 69 6e 66 6f 72  6d 61 74 69 6f 6e 20 64  |he information d|
000000b0  69 73 70 6c 61 79 65 64  20 69 6e 20 74 68 65 20  |isplayed in the |
000000c0  57 69 6e 64 6f 77 20 46  6c 61 67 73 20 77 69 6e  |Window Flags win|
000000d0  64 6f 77 20 77 69 6c 6c  0a 63 68 61 6e 67 65 20  |dow will.change |
000000e0  61 73 20 79 6f 75 20 6d  6f 76 65 20 74 68 65 20  |as you move the |
000000f0  70 6f 69 6e 74 65 72 20  61 72 6f 75 6e 64 20 74  |pointer around t|
00000100  68 65 20 64 65 73 6b 74  6f 70 2e 20 49 66 20 74  |he desktop. If t|
00000110  68 65 72 65 20 69 73 20  6e 6f 0a 77 69 6e 64 6f  |here is no.windo|
00000120  77 20 75 6e 64 65 72 20  74 68 65 20 70 6f 69 6e  |w under the poin|
00000130  74 65 72 2c 20 61 6c 6c  20 74 68 65 20 63 6f 6e  |ter, all the con|
00000140  74 65 6e 74 73 20 6f 66  20 74 68 65 20 57 69 6e  |tents of the Win|
00000150  64 6f 77 20 46 6c 61 67  73 20 77 69 6e 64 6f 77  |dow Flags window|
00000160  0a 77 69 6c 6c 20 62 65  20 62 6c 61 6e 6b 20 6f  |.will be blank o|
00000170  72 20 73 77 69 74 63 68  65 64 20 6f 66 66 2e 0a  |r switched off..|
00000180  0a 57 68 65 6e 20 6e 6f  74 20 73 70 79 69 6e 67  |.When not spying|
00000190  20 6f 6e 20 77 69 6e 64  6f 77 73 2c 20 79 6f 75  | on windows, you|
000001a0  20 63 61 6e 20 73 65 74  20 74 68 65 20 73 77 69  | can set the swi|
000001b0  74 63 68 65 73 20 6f 6e  20 61 6e 64 20 6f 66 66  |tches on and off|
000001c0  20 77 69 74 68 0a 74 68  65 20 70 6f 69 6e 74 65  | with.the pointe|
000001d0  72 20 61 6e 64 20 65 6e  74 65 72 20 76 61 6c 75  |r and enter valu|
000001e0  65 73 20 69 6e 74 6f 20  74 68 65 20 77 72 69 74  |es into the writ|
000001f0  61 62 6c 65 20 69 63 6f  6e 73 2e 20 41 73 20 79  |able icons. As y|
00000200  6f 75 20 64 6f 20 74 68  69 73 2c 0a 74 68 65 20  |ou do this,.the |
00000210  63 6f 6e 74 65 6e 74 73  20 6f 66 20 74 68 65 20  |contents of the |
00000220  57 69 6e 64 6f 77 20 46  6c 61 67 73 20 77 69 6e  |Window Flags win|
00000230  64 6f 77 20 77 69 6c 6c  20 75 70 64 61 74 65 2e  |dow will update.|
00000240  20 41 6c 74 65 72 6e 61  74 69 76 65 6c 79 2c 0a  | Alternatively,.|
00000250  79 6f 75 20 63 61 6e 20  65 6e 74 65 72 20 61 20  |you can enter a |
00000260  6e 65 77 20 76 61 6c 75  65 20 69 6e 74 6f 20 74  |new value into t|
00000270  68 65 20 77 69 6e 64 6f  77 20 66 6c 61 67 73 3a  |he window flags:|
00000280  20 77 68 65 6e 20 79 6f  75 20 70 72 65 73 73 0a  | when you press.|
00000290  52 65 74 75 72 6e 2c 20  74 68 65 20 57 69 6e 64  |Return, the Wind|
000002a0  6f 77 20 46 6c 61 67 73  20 77 69 6e 64 6f 77 20  |ow Flags window |
000002b0  77 69 6c 6c 20 75 70 64  61 74 65 20 74 6f 20 73  |will update to s|
000002c0  68 6f 77 20 79 6f 75 20  77 68 61 74 20 74 68 65  |how you what the|
000002d0  20 76 61 6c 75 65 0a 6d  65 61 6e 73 2e 0a 0a 49  | value.means...I|
000002e0  66 20 74 68 65 20 73 70  79 20 6f 70 74 69 6f 6e  |f the spy option|
000002f0  20 69 73 20 6f 66 66 2c  20 79 6f 75 20 63 61 6e  | is off, you can|
00000300  20 61 6c 73 6f 20 64 72  61 67 20 74 68 65 20 63  | also drag the c|
00000310  6f 6e 74 65 6e 74 73 20  6f 66 20 74 68 65 20 77  |ontents of the w|
00000320  69 6e 64 6f 77 0a 66 6c  61 67 73 20 69 63 6f 6e  |indow.flags icon|
00000330  20 6f 75 74 20 69 6e 74  6f 20 61 6e 6f 74 68 65  | out into anothe|
00000340  72 20 61 70 70 6c 69 63  61 74 69 6f 6e 2e 20 54  |r application. T|
00000350  68 69 73 20 69 73 20 75  73 65 66 75 6c 20 69 66  |his is useful if|
00000360  20 79 6f 75 20 77 61 6e  74 20 74 6f 0a 65 6e 74  | you want to.ent|
00000370  65 72 20 74 68 65 20 6e  75 6d 62 65 72 20 79 6f  |er the number yo|
00000380  75 20 68 61 76 65 20 63  61 6c 63 75 6c 61 74 65  |u have calculate|
00000390  64 20 69 6e 74 6f 20 79  6f 75 72 20 74 65 78 74  |d into your text|
000003a0  20 65 64 69 74 6f 72 2e  20 28 52 69 73 63 20 4f  | editor. (Risc O|
000003b0  53 20 33 0a 75 73 65 72  73 20 77 69 6c 6c 20 66  |S 3.users will f|
000003c0  69 6e 64 20 74 68 65 20  64 72 61 67 67 65 64 20  |ind the dragged |
000003d0  76 61 6c 75 65 20 74 61  6b 65 73 20 74 68 65 20  |value takes the |
000003e0  66 6f 72 6d 20 6f 66 20  61 20 70 69 65 63 65 20  |form of a piece |
000003f0  6f 66 0a 74 72 61 6e 73  70 61 72 65 6e 74 20 70  |of.transparent p|
00000400  65 72 73 70 65 78 20 77  69 74 68 20 74 68 65 20  |erspex with the |
00000410  6e 75 6d 62 65 72 20 27  65 74 63 68 65 64 27 20  |number 'etched' |
00000420  6f 6e 20 69 74 2e 29 0a  0a 43 6f 6e 73 75 6c 74  |on it.)..Consult|
00000430  20 74 68 65 20 50 72 6f  67 72 61 6d 6d 65 72 27  | the Programmer'|
00000440  73 20 52 65 66 65 72 65  6e 63 65 20 4d 61 6e 75  |s Reference Manu|
00000450  61 6c 20 66 6f 72 20 64  65 74 61 69 6c 73 20 61  |al for details a|
00000460  62 6f 75 74 20 74 68 65  0a 6d 65 61 6e 69 6e 67  |bout the.meaning|
00000470  73 20 6f 66 20 74 68 65  20 73 70 65 63 69 66 69  |s of the specifi|
00000480  63 20 77 69 6e 64 6f 77  20 66 6c 61 67 73 2e 20  |c window flags. |
00000490  4e 6f 74 65 20 74 68 61  74 20 74 68 65 20 6c 61  |Note that the la|
000004a0  73 74 20 74 68 72 65 65  20 77 69 6e 64 6f 77 0a  |st three window.|
000004b0  66 6c 61 67 73 20 61 72  65 20 6f 6e 6c 79 20 61  |flags are only a|
000004c0  70 70 6c 69 63 61 62 6c  65 20 74 6f 20 75 73 65  |pplicable to use|
000004d0  72 73 20 6f 66 20 52 69  73 63 20 4f 53 20 33 20  |rs of Risc OS 3 |
000004e0  6f 72 20 6c 61 74 65 72  2e 0a 0a 43 6c 69 63 6b  |or later...Click|
000004f0  69 6e 67 20 4d 65 6e 75  20 6f 76 65 72 20 74 68  |ing Menu over th|
00000500  65 20 57 69 6e 64 6f 77  20 46 6c 61 67 73 20 77  |e Window Flags w|
00000510  69 6e 64 6f 77 20 70 72  65 73 65 6e 74 73 20 74  |indow presents t|
00000520  68 65 20 6d 61 69 6e 20  75 74 69 6c 69 74 79 0a  |he main utility.|
00000530  6d 65 6e 75 3a 0a 0a 27  49 6e 66 6f 27 20 6c 65  |menu:..'Info' le|
00000540  61 64 73 20 74 6f 20 61  20 73 74 61 6e 64 61 72  |ads to a standar|
00000550  64 20 69 6e 66 6f 72 6d  61 74 69 6f 6e 20 77 69  |d information wi|
00000560  6e 64 6f 77 2e 0a 0a 27  53 70 79 20 6f 6e 20 77  |ndow...'Spy on w|
00000570  69 6e 64 6f 77 73 27 20  77 69 6c 6c 20 62 65 20  |indows' will be |
00000580  74 69 63 6b 65 64 20 69  66 20 69 74 20 69 73 20  |ticked if it is |
00000590  73 77 69 74 63 68 65 64  20 6f 6e 2e 20 57 68 65  |switched on. Whe|
000005a0  6e 20 6f 6e 2c 20 74 68  65 0a 63 6f 6e 74 65 6e  |n on, the.conten|
000005b0  74 73 20 6f 66 20 74 68  65 20 57 69 6e 64 6f 77  |ts of the Window|
000005c0  20 46 6c 61 67 73 20 77  69 6e 64 6f 77 20 75 70  | Flags window up|
000005d0  64 61 74 65 20 74 6f 20  62 65 20 61 70 70 72 6f  |date to be appro|
000005e0  70 72 69 61 74 65 20 74  6f 20 74 68 65 0a 77 69  |priate to the.wi|
000005f0  6e 64 6f 77 20 75 6e 64  65 72 20 74 68 65 20 6d  |ndow under the m|
00000600  6f 75 73 65 20 70 6f 69  6e 74 65 72 2e 20 57 68  |ouse pointer. Wh|
00000610  65 6e 20 6f 66 66 2c 20  79 6f 75 20 63 61 6e 20  |en off, you can |
00000620  75 73 65 20 74 68 65 20  77 69 6e 64 6f 77 20 61  |use the window a|
00000630  73 20 61 0a 77 69 6e 64  6f 77 20 66 6c 61 67 20  |s a.window flag |
00000640  63 61 6c 63 75 6c 61 74  6f 72 2e 0a 0a 27 57 69  |calculator...'Wi|
00000650  6e 64 6f 77 20 70 6f 73  69 74 69 6f 6e 27 20 6c  |ndow position' l|
00000660  65 61 64 73 20 74 6f 20  61 20 77 69 6e 64 6f 77  |eads to a window|
00000670  20 77 68 69 63 68 20 6c  65 74 73 20 79 6f 75 20  | which lets you |
00000680  64 65 74 65 72 6d 69 6e  65 20 77 68 65 72 65 20  |determine where |
00000690  74 68 65 0a 57 69 6e 64  6f 77 20 46 6c 61 67 73  |the.Window Flags|
000006a0  20 77 69 6e 64 6f 77 20  61 70 70 65 61 72 73 20  | window appears |
000006b0  6f 6e 20 74 68 65 20 73  63 72 65 65 6e 2e 20 54  |on the screen. T|
000006c0  68 69 73 20 63 6f 72 72  65 73 70 6f 6e 64 73 20  |his corresponds |
000006d0  74 6f 20 61 6e 0a 69 6e  76 69 73 69 62 6c 65 20  |to an.invisible |
000006e0  67 72 69 64 2c 20 61 6e  64 20 77 68 65 6e 20 79  |grid, and when y|
000006f0  6f 75 20 63 68 61 6e 67  65 20 73 63 72 65 65 6e  |ou change screen|
00000700  20 6d 6f 64 65 20 74 68  65 20 77 69 6e 64 6f 77  | mode the window|
00000710  20 77 69 6c 6c 20 73 6e  61 70 0a 74 6f 20 74 68  | will snap.to th|
00000720  69 73 20 67 72 69 64 2e  20 28 54 68 69 73 20 66  |is grid. (This f|
00000730  65 61 74 75 72 65 20 63  61 6e 20 62 65 20 64 69  |eature can be di|
00000740  73 61 62 6c 65 64 20 62  79 20 63 6c 69 63 6b 69  |sabled by clicki|
00000750  6e 67 20 41 64 6a 75 73  74 20 6f 6e 20 74 68 65  |ng Adjust on the|
00000760  0a 73 6d 61 6c 6c 20 77  69 6e 64 6f 77 20 69 63  |.small window ic|
00000770  6f 6e 2c 20 77 68 69 63  68 20 6d 61 6b 65 73 20  |on, which makes |
00000780  69 74 20 64 69 73 61 70  70 65 61 72 2e 29 0a 0a  |it disappear.)..|
00000790  27 53 61 76 65 20 73 65  74 74 69 6e 67 73 27 20  |'Save settings' |
000007a0  77 69 6c 6c 20 73 61 76  65 20 74 68 65 20 73 63  |will save the sc|
000007b0  72 65 65 6e 20 6c 6f 63  61 74 69 6f 6e 20 6f 66  |reen location of|
000007c0  20 74 68 65 20 57 69 6e  64 6f 77 20 46 6c 61 67  | the Window Flag|
000007d0  73 0a 77 69 6e 64 6f 77  2c 20 61 6c 6f 6e 67 20  |s.window, along |
000007e0  77 69 74 68 20 74 68 65  20 73 70 79 20 73 65 74  |with the spy set|
000007f0  74 69 6e 67 2e 0a                                 |ting..|
000007f6