home *** CD-ROM | disk | FTP | other *** search
-
- LeftyMouse
-
- (Commodity)
-
- by
-
- Stefan Sticht
-
- This program (binary), sourcecode, documentation is
-
- PUBLIC DOMAIN.
-
- You may do anything with it!
-
-
- Purpose of this commodity:
- --------------------------
- LeftyMouse is a commodity which swaps the function of the left and
- right mouse buttons. The left button becomes the right button and
- vice versa. This commodity is intended to lefties, who use the mouse
- with their left hand.
-
- Requirements:
- -------------
- This commodity requires at least Kickstart 37.#? and Workbench 37.#?.
- Please check this out using Version in the Shell or About from the
- Workbench's Workbench menu. You also need to have the
- commodities.library in your libs: directory.
-
-
- How to start a commodity:
- -------------------------
- First there are two basically different ways to start a commodity:
- via Workbench or via Shell.
-
- Starting it via Workbench is extrem simple: just doubleclick on
- its icon and the commodity gets started. Perhaps you might change
- some parameters of the commodity. You do this with tool types. Tool
- types can be changed by clicking at the commodities icon and selecting
- Information from the Workbench's Icon menu. In the window which opens
- you see a listview gadget in which all tool types are listed. Please
- refer to your Workbench documentation on how to change this tool
- types. Which parameters you can change for this specific commodity is
- described below.
- Please note that another double click on the commodity's icon
- forces the commodity to quit, if it's already running. Running two
- copies of LeftyMouse at the same time isn't useful and therefore
- possible.
- To start a commodity via shell you type in its name. If you get
- an "Unknown command ???" error message, you have misspelled the
- commodity's name or the commodity isn't in your current directory or
- in the current search path. The easiest way is to change your current
- directory to the location of the commodity using the CD command. You
- can change parameters of a commodity by command line options. The
- available options are listed with ? as the first parameter:
-
- LeftyMouse ?
-
- gives you a list of the command line options. The explanation of each
- option is below. Starting the commodity once more while it is already
- running forces the commodity to quit.
-
- If you want the commodity to be started at every boot-up, it's
- best to add this line to your User-Startup file:
-
- <path>LeftyMouse <options>
-
- Don't forget to replace <path> by the path to the commodities's
- location and <options> by the options you want to change. For example
- add this line if your commodity is located in the Tools drawer of your
- boot disk:
-
- Tools/LeftyMouse
-
- Another way to start the commodity at every boot-up is to drag its
- icon in the WBStartup drawer of your boot disk. Then the commodity
- gets started as if you had double clicked on its icon. But you have
- to add the tool type DONOTWAIT to the icon.
-
-
- Using Exchange:
- ---------------
- Exchange is the commodities controller program. With Exchange you can
- control all commodities: you can kill, disable, enable, show and hide
- commodities.
- Start the Exchange program, which usually is in the Utilities
- drawer of your boot disk, by double clicking its icon. Now you see a
- list of the available commodities. Select the commodity you want to
- control. The commodities title, description and status is shown now
- below the listview gadget.
- You can kill the commodity using the Kill gadget... If the
- commodity has a window to open, in which you usually change some
- parameters, you can open this window using Show. Hide closes this
- window. LeftyMouse has no window, which can be opened.
-
- Changeable parameters:
- ----------------------
-
- CX_Priority:
- ------------
- You can specify the priority of the Commodity within the commodities
- queue using the tool type or commandline option CX_PRIORITY=<number>,
- where <unmber> is the decimal value for the priority. Default
- priority is 1. The priority of this commodity may be important if you
- use other commodities which trap mousebuttons, as ClickToFront and
- toBack&Front do. LeftyMouse must have a higher priority than these
- commodities if they also should notice the swap of the mousebuttons.
- You easily can proof this by starting Exchange and looking at the list
- of commodities, which Exchange shows. If LeftyMouse comes before the
- other commodity, which traps the mousebuttons, it has a higher
- priority than the other one. If not, you have to increase the
- priority of LeftyMouse over the priority of the other commodity. If
- LeftyMouse is the first commodity in the list, everything's fine.
-
-
- Send bug-reports, enhancement-requests, questions, gifts(!) to:
- ---------------------------------------------------------------
- Stefan Sticht
- Bibereckerweg 40a
- D-8390 Passau 18
- FRG
-
- or (better) EMail to:
- sticht@edith.deg.sub.org
- Fido-Net: Stefan Sticht (2:246/200.4)
-
- Please include the version number of the commodity in every bug report.
- You get the version number using the Version command:
- Version [<path>]<commodity>
-
-