home *** CD-ROM | disk | FTP | other *** search
- ;;; MBPress example script - for OS 2.04 only! ;;;
-
- ;
- ; execute me, then press some mouse button combination to see the results
- ; you have got 2 sec. after pressing 'Return' to choose your mouse button(s)
- ;
-
- Echo "Ok, press your mouse button(s) now."
- Wait 2
-
- MBPress
- Set ANSWER $RC
- If $Answer EQ 0
- echo "none" ; add your own commands here
- Endif
- If $ANSWER EQ 1
- echo "left" ; add your own commands here
- Endif
- If $Answer EQ 2
- echo "right" ; add your own commands here
- Endif
- If $Answer EQ 3
- echo "left + right" ; add your own commands here
- Endif
- If $Answer EQ 4
- echo "middle" ; add your own commands here
- Endif
- If $Answer EQ 5
- echo "left + middle" ; add your own commands here
- Endif
- If $Answer EQ 6
- echo "right + middle" ; add your own commands here
- Endif
- If $Answer EQ 7
- echo "left + right + middle" ; add your own commands here
- Endif
- UnSet ANSWER
-
- ; end of MBPress example script for OS 2.04 ;
-
- ; P.S. This script is a little bulky for every day use, so just keep
- ; ---- the if statements you need and delete the rest.
-