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

StarInfo/Boura/Manuals/Click

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/Click
Read OK:
File size: 02A9 bytes
Load address: 0000
Exec address: 0000
File contents
This utility will simulate a mouse click on the iconbar.

Syntax: Click <application name> [-select] [-menu] [-adjust] [-wait]

<application name>     Name of application as known to task manager.

-select -menu -adjust  Mouse clicks to simulate, at least one.
                       They will always be simulated in that order.

-wait                  If neccesary, wait until application has started.

As usual, the application name must be enclosed in quotes if it contains any
spaces.

eg
Click "CD Player" -select -wait

This will simulate a click with select on CD Player's iconbar icon to open
the control panel.  If CD Player is not running, then it will wait until it
is.
00000000  54 68 69 73 20 75 74 69  6c 69 74 79 20 77 69 6c  |This utility wil|
00000010  6c 20 73 69 6d 75 6c 61  74 65 20 61 20 6d 6f 75  |l simulate a mou|
00000020  73 65 20 63 6c 69 63 6b  20 6f 6e 20 74 68 65 20  |se click on the |
00000030  69 63 6f 6e 62 61 72 2e  0a 0a 53 79 6e 74 61 78  |iconbar...Syntax|
00000040  3a 20 43 6c 69 63 6b 20  3c 61 70 70 6c 69 63 61  |: Click <applica|
00000050  74 69 6f 6e 20 6e 61 6d  65 3e 20 5b 2d 73 65 6c  |tion name> [-sel|
00000060  65 63 74 5d 20 5b 2d 6d  65 6e 75 5d 20 5b 2d 61  |ect] [-menu] [-a|
00000070  64 6a 75 73 74 5d 20 5b  2d 77 61 69 74 5d 0a 0a  |djust] [-wait]..|
00000080  3c 61 70 70 6c 69 63 61  74 69 6f 6e 20 6e 61 6d  |<application nam|
00000090  65 3e 20 20 20 20 20 4e  61 6d 65 20 6f 66 20 61  |e>     Name of a|
000000a0  70 70 6c 69 63 61 74 69  6f 6e 20 61 73 20 6b 6e  |pplication as kn|
000000b0  6f 77 6e 20 74 6f 20 74  61 73 6b 20 6d 61 6e 61  |own to task mana|
000000c0  67 65 72 2e 0a 0a 2d 73  65 6c 65 63 74 20 2d 6d  |ger...-select -m|
000000d0  65 6e 75 20 2d 61 64 6a  75 73 74 20 20 4d 6f 75  |enu -adjust  Mou|
000000e0  73 65 20 63 6c 69 63 6b  73 20 74 6f 20 73 69 6d  |se clicks to sim|
000000f0  75 6c 61 74 65 2c 20 61  74 20 6c 65 61 73 74 20  |ulate, at least |
00000100  6f 6e 65 2e 0a 20 20 20  20 20 20 20 20 20 20 20  |one..           |
00000110  20 20 20 20 20 20 20 20  20 20 20 20 54 68 65 79  |            They|
00000120  20 77 69 6c 6c 20 61 6c  77 61 79 73 20 62 65 20  | will always be |
00000130  73 69 6d 75 6c 61 74 65  64 20 69 6e 20 74 68 61  |simulated in tha|
00000140  74 20 6f 72 64 65 72 2e  0a 0a 2d 77 61 69 74 20  |t order...-wait |
00000150  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000160  20 49 66 20 6e 65 63 63  65 73 61 72 79 2c 20 77  | If neccesary, w|
00000170  61 69 74 20 75 6e 74 69  6c 20 61 70 70 6c 69 63  |ait until applic|
00000180  61 74 69 6f 6e 20 68 61  73 20 73 74 61 72 74 65  |ation has starte|
00000190  64 2e 0a 0a 41 73 20 75  73 75 61 6c 2c 20 74 68  |d...As usual, th|
000001a0  65 20 61 70 70 6c 69 63  61 74 69 6f 6e 20 6e 61  |e application na|
000001b0  6d 65 20 6d 75 73 74 20  62 65 20 65 6e 63 6c 6f  |me must be enclo|
000001c0  73 65 64 20 69 6e 20 71  75 6f 74 65 73 20 69 66  |sed in quotes if|
000001d0  20 69 74 20 63 6f 6e 74  61 69 6e 73 20 61 6e 79  | it contains any|
000001e0  0a 73 70 61 63 65 73 2e  0a 0a 65 67 0a 43 6c 69  |.spaces...eg.Cli|
000001f0  63 6b 20 22 43 44 20 50  6c 61 79 65 72 22 20 2d  |ck "CD Player" -|
00000200  73 65 6c 65 63 74 20 2d  77 61 69 74 0a 0a 54 68  |select -wait..Th|
00000210  69 73 20 77 69 6c 6c 20  73 69 6d 75 6c 61 74 65  |is will simulate|
00000220  20 61 20 63 6c 69 63 6b  20 77 69 74 68 20 73 65  | a click with se|
00000230  6c 65 63 74 20 6f 6e 20  43 44 20 50 6c 61 79 65  |lect on CD Playe|
00000240  72 27 73 20 69 63 6f 6e  62 61 72 20 69 63 6f 6e  |r's iconbar icon|
00000250  20 74 6f 20 6f 70 65 6e  0a 74 68 65 20 63 6f 6e  | to open.the con|
00000260  74 72 6f 6c 20 70 61 6e  65 6c 2e 20 20 49 66 20  |trol panel.  If |
00000270  43 44 20 50 6c 61 79 65  72 20 69 73 20 6e 6f 74  |CD Player is not|
00000280  20 72 75 6e 6e 69 6e 67  2c 20 74 68 65 6e 20 69  | running, then i|
00000290  74 20 77 69 6c 6c 20 77  61 69 74 20 75 6e 74 69  |t will wait unti|
000002a0  6c 20 69 74 0a 69 73 2e  0a                       |l it.is..|
000002a9