Posted: 30th Sep 2009 07:21
I did a search for "invert mouse" and found an old post which was closed and nobody had an answer to this problem. I found a script from somewhere but I don't know where to put it. I include it here for those who need it and also in the hope that someone will tell me where to put it.
;no 3
BlockInput Mouse
SetMouseDelay -1
MouseGetPos x, oldy
SetTimer WatchMouse, 1
Return
WatchMouse:
MouseGetPos x, y
MouseMove 0, 2*(oldy-y), 0, R
MouseGetPos x, oldy
Return
!z::ExitApp
_________________________________________________________
;no 2
#NoEnv
SetBatchLines -1
Process Priority,,R
BlockInput Mouse ; user mouse input is ignored during MouseMove
CoordMode Mouse, Screen ; absolute coordinates
SysGet m, Monitor ; get the screen edges
mLeft += 1, mRight -= 2, mTop += 1, mBottom -= 2
SetMouseDelay -1 ; fastest action
MouseGetPos x0, y0 ; get initial mouse pointer location
SetTimer WatchMouse, 1 ; run the subroutine fast (10..16ms)
Return
WatchMouse:
MouseGetPos x, y ; get current mouse position
x0 += 2*(x0-x), x0 := x0 < mLeft ? mLeft : (x0 > mRight ? mRight : x0)
y0 += 2*(y0-y), y0 := y0 < mTop ? mTop : (y0 > mBottom ? mBottom : y0)
MouseMove x0, y0, 0 ; set new position as old, for the next timer
Return
!z::ExitApp ; stop the madness; make the script persistent
________________________________________________________
;No 1
#NoEnv
SetBatchLines -1
Process Priority,,R
BlockInput Mouse ; user mouse input is ignored during MouseMove
CoordMode Mouse, Screen ; absolute coordinates
SysGet m, Monitor ; get the screen edges
mTop += 1, mBottom -= 2
SetMouseDelay -1 ; fastest action
MouseGetPos x0, y0 ; get initial mouse pointer location
SetTimer WatchMouse, 1 ; run the subroutine fast (10..16ms)
Return
WatchMouse:
MouseGetPos x, y ; get current mouse position
y0 += 2*(y0-y), y0 := y0 < mTop ? mTop : (y0 > mBottom ? mBottom : y0)
MouseMove x, y0, 0 ; set new position as old, for the next timer
Return
!z::ExitApp ; stop the madness; make the script persistent
This is my first post and I've read all the warnings so I don't want to foul up this lifeline. I have tried to place it in everywhere I thought it might work. I made it an FPI but I'm attaching it as a text document.
Hope this helps you and me.
John.
Attachments
Login to view attachments