mouse
Choose actions on state of mouse
Short: Choose actions on state of mouse
Author: mebby@enterprise.net (Michael Griggs)
Uploader: mebby enterprise net (Michael Griggs)
Type: util/boot
Requires: OS 1.3
Architecture: m68k-amigaos
Distribution: Aminet
Mouse allows you to execute different startup sequences depending on which
mouse buttons are held down. The program simply returns different codes in
the RC environment variable:
Button | RC
-------------
Left 5
Right 10
Both 20
None 0
By using "IF" statements in your startup-sequence, you can choose different
actions. For example, if I hold down my left-mouse button during boot-up,
a small menu appears allowing me to choose a small selection of programs.
If I hold nothing down, my normal startup-sequence is executed.
/--- Cut Here
Setpatch >NIL:
mouse
IF $RC=5
...open menu...
ENDIF
IF $RC=0
...normal startup...
ENDIF
/--- Cut Here
Aminet: util/cdity/FindItGui.lha - GUI-based file-finding program.
Aminet: util/sys/Execute.lha - Replaces Workbench "Execute Command..."
requester.
Aminet: util/app/AppInfo.lha - File-type information Application Icon.
Gratis
Desde el Amiga: abre Hangar y busca mouse.
| Autor | mebby@enterprise.net (Michael Griggs) |
|---|---|
| Categoría | util/boot |
| Tamaño | 1 KB |
| Para | m68k-amigaos |
| Necesita | OS 1.3 |
| Origen | Aminet |