AutoHotkey Community

It is currently May 26th, 2012, 8:45 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: x-mouse in windows xp
PostPosted: June 11th, 2007, 1:02 pm 
Offline

Joined: October 5th, 2006, 8:45 am
Posts: 476
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 12th, 2007, 9:37 am 
Offline

Joined: July 20th, 2005, 4:49 am
Posts: 65
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 12th, 2007, 11:52 am 
Offline

Joined: October 5th, 2006, 8:45 am
Posts: 476
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?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 12th, 2007, 12:23 pm 
Offline

Joined: July 20th, 2005, 4:49 am
Posts: 65
According to your definition of xmouse it does half of what you want :)

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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 12th, 2007, 5:37 pm 
Offline
User avatar

Joined: August 30th, 2005, 8:43 pm
Posts: 8666
Location: Salem, MA
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

_________________
Image
(Common Answers) - New Tutorials Forum - Humongous FAQ


Report this post
Top
 Profile  
Reply with quote  
PostPosted: December 27th, 2007, 8:29 pm 
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


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: July 4th, 2008, 1:52 am 
See here: http://fy.chalmers.se/~appro/nt/TXMouse/


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google [Bot], kkkddd1, Yahoo [Bot] and 55 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group