AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/boot/mouse.lha

Mirror:Random
Showing: ppc-morphos icongeneric icon
No screenshot available
Short:Choose actions on state of mouse
Author: mebby at enterprise.net (Michael Griggs)
Uploader:mebby enterprise net (Michael Griggs)
Type:util/boot
Architecture:m68k-amigaos
Date:1996-06-28
Requires:OS 1.3
Distribution:Aminet
Download:util/boot/mouse.lha - View contents
Readme:util/boot/mouse.readme
Downloads:644

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-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>