--- In [email protected], "swzoh" <[EMAIL PROTECTED]> wrote:
>
> --- In [email protected], "frewsaxas" <frewsax@> wrote:
> >
> > > A simple solution that works on my xp machine is to define a hot
key 
> > > (or button or menu item) as follows
> > > Command:
> 
> There is a simpler way (need dll plugin which can be downloaded in the
> Files section). It will toggle the buttons:
> 
> do("flag reverse 9")++dll.call("SwapMouseButton|b",pproflag(9))

No need to use flag:

dll.call("SwapMouseButton|b",win.getsystemmetrics("SM_SWAPBUTTON")^1)

You may use SystemParametersInfo instead of SwapMouseButton, which has
an additional control whether to update the user's profile or not.

Sean

Reply via email to