Home » Archimedes archive » Acorn User » AU 1994-08.adf » !WimpTools/!Help

!WimpTools/!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 1994-08.adf
Filename: !WimpTools/!Help
Read OK:
File size: 03C5 bytes
Load address: FFFFFF45
Exec address: 6CCFC1C1
File contents
Wimp Tools
by Matt Lewis

This archive contains a module WimpTools, which provides a convenient interface to WIMP operations through some SWI calls. The calls are fully documented in the !Help file in the WimpTools application.

The Demo application contains a Basic program which demontrates the use of the calls. The TempPrint application, in addition to demonstrating their use, will print out the text definiton of a template file.

To use the WimpTools module either:

1) Run the WimpTools application (which sets up a pointer to the WimpTools module) and include in your !Run file a line of the form �RmEnsure WimpTools 1.40 RmLoad <WimpTools$Dir>.WimpTools�

or

2) Copy the WimpTools module from within the application (Shift-double-click on the WimpTools application to see it) to the Modules directory in your !System folder. Then include in your !Run file a line of the form �RmEnsure WimpTools 1.40 RmLoad System:WimpTools�

� Copyright Matt Lewis 1994
00000000  57 69 6d 70 20 54 6f 6f  6c 73 0a 62 79 20 4d 61  |Wimp Tools.by Ma|
00000010  74 74 20 4c 65 77 69 73  0a 0a 54 68 69 73 20 61  |tt Lewis..This a|
00000020  72 63 68 69 76 65 20 63  6f 6e 74 61 69 6e 73 20  |rchive contains |
00000030  61 20 6d 6f 64 75 6c 65  20 57 69 6d 70 54 6f 6f  |a module WimpToo|
00000040  6c 73 2c 20 77 68 69 63  68 20 70 72 6f 76 69 64  |ls, which provid|
00000050  65 73 20 61 20 63 6f 6e  76 65 6e 69 65 6e 74 20  |es a convenient |
00000060  69 6e 74 65 72 66 61 63  65 20 74 6f 20 57 49 4d  |interface to WIM|
00000070  50 20 6f 70 65 72 61 74  69 6f 6e 73 20 74 68 72  |P operations thr|
00000080  6f 75 67 68 20 73 6f 6d  65 20 53 57 49 20 63 61  |ough some SWI ca|
00000090  6c 6c 73 2e 20 54 68 65  20 63 61 6c 6c 73 20 61  |lls. The calls a|
000000a0  72 65 20 66 75 6c 6c 79  20 64 6f 63 75 6d 65 6e  |re fully documen|
000000b0  74 65 64 20 69 6e 20 74  68 65 20 21 48 65 6c 70  |ted in the !Help|
000000c0  20 66 69 6c 65 20 69 6e  20 74 68 65 20 57 69 6d  | file in the Wim|
000000d0  70 54 6f 6f 6c 73 20 61  70 70 6c 69 63 61 74 69  |pTools applicati|
000000e0  6f 6e 2e 0a 0a 54 68 65  20 44 65 6d 6f 20 61 70  |on...The Demo ap|
000000f0  70 6c 69 63 61 74 69 6f  6e 20 63 6f 6e 74 61 69  |plication contai|
00000100  6e 73 20 61 20 42 61 73  69 63 20 70 72 6f 67 72  |ns a Basic progr|
00000110  61 6d 20 77 68 69 63 68  20 64 65 6d 6f 6e 74 72  |am which demontr|
00000120  61 74 65 73 20 74 68 65  20 75 73 65 20 6f 66 20  |ates the use of |
00000130  74 68 65 20 63 61 6c 6c  73 2e 20 54 68 65 20 54  |the calls. The T|
00000140  65 6d 70 50 72 69 6e 74  20 61 70 70 6c 69 63 61  |empPrint applica|
00000150  74 69 6f 6e 2c 20 69 6e  20 61 64 64 69 74 69 6f  |tion, in additio|
00000160  6e 20 74 6f 20 64 65 6d  6f 6e 73 74 72 61 74 69  |n to demonstrati|
00000170  6e 67 20 74 68 65 69 72  20 75 73 65 2c 20 77 69  |ng their use, wi|
00000180  6c 6c 20 70 72 69 6e 74  20 6f 75 74 20 74 68 65  |ll print out the|
00000190  20 74 65 78 74 20 64 65  66 69 6e 69 74 6f 6e 20  | text definiton |
000001a0  6f 66 20 61 20 74 65 6d  70 6c 61 74 65 20 66 69  |of a template fi|
000001b0  6c 65 2e 0a 0a 54 6f 20  75 73 65 20 74 68 65 20  |le...To use the |
000001c0  57 69 6d 70 54 6f 6f 6c  73 20 6d 6f 64 75 6c 65  |WimpTools module|
000001d0  20 65 69 74 68 65 72 3a  0a 0a 31 29 20 52 75 6e  | either:..1) Run|
000001e0  20 74 68 65 20 57 69 6d  70 54 6f 6f 6c 73 20 61  | the WimpTools a|
000001f0  70 70 6c 69 63 61 74 69  6f 6e 20 28 77 68 69 63  |pplication (whic|
00000200  68 20 73 65 74 73 20 75  70 20 61 20 70 6f 69 6e  |h sets up a poin|
00000210  74 65 72 20 74 6f 20 74  68 65 20 57 69 6d 70 54  |ter to the WimpT|
00000220  6f 6f 6c 73 20 6d 6f 64  75 6c 65 29 20 61 6e 64  |ools module) and|
00000230  20 69 6e 63 6c 75 64 65  20 69 6e 20 79 6f 75 72  | include in your|
00000240  20 21 52 75 6e 20 66 69  6c 65 20 61 20 6c 69 6e  | !Run file a lin|
00000250  65 20 6f 66 20 74 68 65  20 66 6f 72 6d 20 90 52  |e of the form .R|
00000260  6d 45 6e 73 75 72 65 20  57 69 6d 70 54 6f 6f 6c  |mEnsure WimpTool|
00000270  73 20 31 2e 34 30 20 52  6d 4c 6f 61 64 20 3c 57  |s 1.40 RmLoad <W|
00000280  69 6d 70 54 6f 6f 6c 73  24 44 69 72 3e 2e 57 69  |impTools$Dir>.Wi|
00000290  6d 70 54 6f 6f 6c 73 91  0a 0a 6f 72 0a 0a 32 29  |mpTools...or..2)|
000002a0  20 43 6f 70 79 20 74 68  65 20 57 69 6d 70 54 6f  | Copy the WimpTo|
000002b0  6f 6c 73 20 6d 6f 64 75  6c 65 20 66 72 6f 6d 20  |ols module from |
000002c0  77 69 74 68 69 6e 20 74  68 65 20 61 70 70 6c 69  |within the appli|
000002d0  63 61 74 69 6f 6e 20 28  53 68 69 66 74 2d 64 6f  |cation (Shift-do|
000002e0  75 62 6c 65 2d 63 6c 69  63 6b 20 6f 6e 20 74 68  |uble-click on th|
000002f0  65 20 57 69 6d 70 54 6f  6f 6c 73 20 61 70 70 6c  |e WimpTools appl|
00000300  69 63 61 74 69 6f 6e 20  74 6f 20 73 65 65 20 69  |ication to see i|
00000310  74 29 20 74 6f 20 74 68  65 20 4d 6f 64 75 6c 65  |t) to the Module|
00000320  73 20 64 69 72 65 63 74  6f 72 79 20 69 6e 20 79  |s directory in y|
00000330  6f 75 72 20 21 53 79 73  74 65 6d 20 66 6f 6c 64  |our !System fold|
00000340  65 72 2e 20 54 68 65 6e  20 69 6e 63 6c 75 64 65  |er. Then include|
00000350  20 69 6e 20 79 6f 75 72  20 21 52 75 6e 20 66 69  | in your !Run fi|
00000360  6c 65 20 61 20 6c 69 6e  65 20 6f 66 20 74 68 65  |le a line of the|
00000370  20 66 6f 72 6d 20 90 52  6d 45 6e 73 75 72 65 20  | form .RmEnsure |
00000380  57 69 6d 70 54 6f 6f 6c  73 20 31 2e 34 30 20 52  |WimpTools 1.40 R|
00000390  6d 4c 6f 61 64 20 53 79  73 74 65 6d 3a 57 69 6d  |mLoad System:Wim|
000003a0  70 54 6f 6f 6c 73 91 0a  0a a9 20 43 6f 70 79 72  |pTools.... Copyr|
000003b0  69 67 68 74 20 4d 61 74  74 20 4c 65 77 69 73 20  |ight Matt Lewis |
000003c0  31 39 39 34 0a                                    |1994.|
000003c5