AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

x-mouse in windows xp

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
user



Joined: 05 Oct 2006
Posts: 423

PostPosted: Mon Jun 11, 2007 1:02 pm    Post subject: x-mouse in windows xp Reply with quote

hello

can I have x-mouse in windows xp?

Quote:
X11 is better for fingers.
Copy with mouse.
Paste with mouse.
Focus without clicks.
Raise and lower windows.
So called X-Mouse.
Back to top
View user's profile Send private message
MisterW



Joined: 20 Jul 2005
Posts: 65

PostPosted: Tue Jun 12, 2007 9:37 am    Post subject: Reply with quote

Sure. You could download: http://www.mdgx.com/files/XMOUSE2K.ZIP or could execute the following ahk code:
Code:

SPI_SETACTIVEWINDOWTRACKING = 0x1001
SPIF_UPDATEINIFILE = 1
SPIF_SENDCHANGE = 2

; Turn On Mouse Focus Follow Cursor
DllCall("SystemParametersInfo",UInt,SPI_SETACTIVEWINDOWTRACKING,UInt,0,UInt,1,UInt,SPIF_UPDATEINIFILE | SPIF_SENDCHANGE)


Check out the Window Manipulation section of this url http://www.autohotkey.com/wiki/index.php?title=Script_Listing
for more details on xmouse and linux like behaviour using ahk.

Of course, with ahk you can customize the mouse buttons to do anything you want. Browse around the script catalogue and modify to your needs.
Back to top
View user's profile Send private message
user



Joined: 05 Oct 2006
Posts: 423

PostPosted: Tue Jun 12, 2007 11:52 am    Post subject: Reply with quote

MisterW wrote:
Sure. You could download: http://www.mdgx.com/files/XMOUSE2K.ZIP


from its README:

Quote:
XMouse2000 [XMouse2K.exe] 32-bit for Windows 98/2000/ME adds XMouse GUI
functionality: Mouse Focus, AutoRaise and proper Delay.


so it does only the 1/5 of what xmouse is
this is what tweakui does too

what about the rest features of xmouse?
Back to top
View user's profile Send private message
MisterW



Joined: 20 Jul 2005
Posts: 65

PostPosted: Tue Jun 12, 2007 12:23 pm    Post subject: Reply with quote

According to your definition of xmouse it does half of what you want Smile

Perhaps if you were more specific about what features you are looking for. Are you wanting a utility or some ahk code. This is a place to get help with ahk, perhaps you might want to look in the Utilities and Resources forum.

Have you looked in the scripts section for the behaviour you are after - Particularly niftywindows or something like it.

Have you tried to code something yourself? Changing the default behaviour of mouse buttons is fairly trivial for ahk. Have a look at the tutorial and examples in the manual/documentation.

BTW: xmouse2k works on XP too.
Back to top
View user's profile Send private message
engunneer



Joined: 30 Aug 2005
Posts: 6560
Location: Pacific Northwest, US

PostPosted: Tue Jun 12, 2007 5:37 pm    Post subject: Reply with quote

he is wondering mostly about the highlight copy and paste functions.

You can script LButton up to check the current mouse cursor (I think) and have it issue a ^c under certain circumstances.

Pasting is simple:
Code:

MButton::
Send, ^v
Return

_________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM
Back to top
View user's profile Send private message Visit poster's website
GordonMcKinney
Guest





PostPosted: Thu Dec 27, 2007 8:29 pm    Post subject: Make Scroll Lock Control XWin Behaviour Reply with quote

Code:
;
; Make scroll lock enable/disable x-windows tracking
;
~ScrollLock::
   ; Turn On Mouse Focus Follow Cursor, iff ScrollLock enabled
   SLStatus := GetKeyState("ScrollLock", "T")
   SPI_SETACTIVEWINDOWTRACKING = 0x1001
   SPIF_UPDATEINIFILE = 1
   SPIF_SENDCHANGE = 2
   DllCall("SystemParametersInfo",UInt,SPI_SETACTIVEWINDOWTRACKING,UInt,0,UInt,SLStatus,UInt,SPIF_UPDATEINIFILE | SPIF_SENDCHANGE)
return
Back to top
a_guy
Guest





PostPosted: Fri Jul 04, 2008 1:52 am    Post subject: Reply with quote

See here: http://fy.chalmers.se/~appro/nt/TXMouse/
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group