View Single Post
Old 12 June 2002, 19:04   #17
Posts: n/a
You can also try


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:


IF $RC=5 menu...

IF $RC=0
...normal startup...

/--- Cut Here

Page generated in 0.03829 seconds with 10 queries