Hangar.La tienda de software del Amiga

Mousek

Return code is mouse button status

Short:        Return code is mouse button status
Author:       M.C.Askin@e-eng.hull.ac.uk
Uploader:     M C Askin e-eng hull ac uk
Type:         util/batch
Architecture: m68k-amigaos

Mousek 1.1 (7/5/94) ©1994 Michael Askin
---------------------------------------

This simple program simply sets the return code depending on the status of
the mouse buttons...

0 - No mouse buttons pressed

1 - Left mouse button pressed

2 - Right mouse button pressed

3 - Both mouse buttons pressed

What you do with it after then is up to you. In my startup sequence, first
line I have :

mousek
if $rc eq 1
   quit
endif

This will stop the Startup-sequence from executing further if the left
button was pressed when mousek was run.

There is no output, no args, only a version string, and was written in
AmigaE. This makes the executable pretty small.

Have fun with it,

Mike - M.C.Askin@electronic-engineering@hull.ac.uk (till Aug '96)

or Snail Mail:

54 York Rd, Greenwood Ave, Hull, E.Yorks, England. HU6 9RA.

Gratis

Descargar 4 KB

Desde el Amiga: abre Hangar y busca Mousek.

AutorM.C.Askin@e-eng.hull.ac.uk
Categoríautil/batch
Tamaño4 KB
Param68k-amigaos
OrigenAminet