  | 85260 packages online |
|
 |
| | | | | No screenshot available |
|
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.
|
Contents of util/boot/mouse.lha PERMSSN UID GID PACKED SIZE RATIO CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 600 1161 51.7% -lh5- 05d3 Mar 6 1992 mouse.readme
[generic] 477 656 72.7% -lh5- d14a Mar 6 1992 mouse
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 2 files 1077 1817 59.3% Jun 28 1996
|
|
|
 |
| Page generated in 0.02 seconds |
Aminet © 1992-2026 Urban
Müller and
the Aminet team.
Aminet contact address: <aminet aminet net> |
| Try new and exciting server! |