Jump to content



Photo

Multiple Mouse


  • Please log in to reply
9 replies to this topic

#1 jjrock

jjrock

    Seeker

  • New Members
  • 2 posts

Posted 31 October 2010 - 07:45 PM

Dear Friends

I’ve run in to a little problem. I have 2 USB mouse on my system. I need a script something like this.

If mouse 1 button 1 is pressed then do this
If Mouse 2 button 1 is pressed then do that

The problem for me, I think, is to identify each mouse and its buttons individually.





#2 Richard Robertson

Richard Robertson

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 9,692 posts

Posted 31 October 2010 - 11:15 PM

http://www.microsoft.com/windows/multipoint/

#3 jjrock

jjrock

    Seeker

  • New Members
  • 2 posts

Posted 01 November 2010 - 09:44 AM

http://www.microsoft.com/windows/multipoint/


Thanks!! :(
The thing is - that there is only one curser and one user and one PC with 3 screens. On the system there are multiple running programs that have to interact using different interfaces and that the user should almoste control by presing a mouse button.

If Mouse1 Button 1 is pressed then Controlclick#1 on screen one ....
If Mouse2 Button 1 is pressed then Controlclick#2 on screen two ....

The key issue is to find a way to identifie and differentiate between the input from the two mice.

Thank You :graduated:

#4 Richard Robertson

Richard Robertson

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 9,692 posts

Posted 01 November 2010 - 12:17 PM

I'm sure Multipoint handles which mouse is which. It's designed for multiple cursors on the screen even.

Keep in mind it is just an API though, and not a program.

Edited by Richard Robertson, 01 November 2010 - 12:17 PM.


#5 adolfito121

adolfito121

    Wayfarer

  • Active Members
  • Pip
  • 82 posts

Posted 02 July 2012 - 07:52 PM

Did you get any progress on that?

#6 JohnQSmith

JohnQSmith

    Polymath

  • Active Members
  • PipPipPipPip
  • 226 posts

Posted 02 July 2012 - 08:10 PM

:imwithstupid: Considering he was last logged on about a year and a half ago, I don't think he cares.

#7 adolfito121

adolfito121

    Wayfarer

  • Active Members
  • Pip
  • 82 posts

Posted 02 July 2012 - 08:12 PM

Maybe someone else does know how to detect between two mice wich one has been pressed and they didn't replied to this trhead because it was too old to notice it...

#8 Maffe811

Maffe811

    Sir Longbottle

  • Active Members
  • PipPipPipPipPipPip
  • 644 posts

Posted 02 July 2012 - 08:38 PM

Read up on the multipoint, then try to make something.
The guys around here is more likely to help you if you tried on your own first.
Hobby graphics artist, using gimp.Automating pc stuff, using AutoIt.Listening to music, using Grooveshark.Scripts:
Spoiler

#9 Kidney

Kidney

    Adventurer

  • Active Members
  • PipPip
  • 134 posts

Posted 02 July 2012 - 11:05 PM

Did you get any progress on that?


really??? look at the post date...... Posted 31 October 2010 - 12:45 PM

#10 BrewManNH

BrewManNH

    באָבקעס מיט קודוצ׳ה

  • MVPs
  • 6,838 posts

Posted 03 July 2012 - 12:48 AM

really??? look at the post date...... Posted 31 October 2010 - 12:45 PM

Really??? Look at the posts after his...was it really necessary to post this at all?

How to ask questions the smart way!

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.

Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.

_FileGetProperty - Retrieve the properties of a file SciTE Toolbar - A toolbar demo for use with the SciTE editorGUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.

GUIToolTip UDF Demo - Demo script to show how to use the GUIToolTip UDF to create and use customized tooltips.

Posted Image





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users