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.