| View previous topic :: View next topic |
| Author |
Message |
Bytales
Joined: 06 Sep 2008 Posts: 84
|
Posted: Sat Nov 22, 2008 11:08 am Post subject: Double Mouse |
|
|
Is there a way to make 2 mouse cursors on the screen, ?
For instance one does what hot key tell it too, and the other is at my mouse command ! |
|
| Back to top |
|
 |
BoBo² Guest
|
Posted: Sat Nov 22, 2008 12:32 pm Post subject: |
|
|
If a mouse is clicking, why not use ControlClick in parallel to your standard click? Check the AHK manual to get enlighted. Good luck  |
|
| Back to top |
|
 |
Bytales
Joined: 06 Sep 2008 Posts: 84
|
Posted: Sat Nov 22, 2008 12:52 pm Post subject: |
|
|
| BoBo² wrote: | If a mouse is clicking, why not use ControlClick in parallel to your standard click? Check the AHK manual to get enlighted. Good luck  |
Let me get this straigth... ControlClick can "emulate" mouse clicks on an inactive window that is in the background while i am free to work with my mouse on the active window ? |
|
| Back to top |
|
 |
Bytales
Joined: 06 Sep 2008 Posts: 84
|
Posted: Sat Nov 22, 2008 1:51 pm Post subject: |
|
|
Basicaly what i want to do is send mouse click to different coordoates of a window without activating it, while i can use my mouse normaly. Is this even possible ?
ControlClick
--------------------------------------------------------------------------------
Sends a mouse button or mouse wheel event to a control.
What am i suppose to understand "to a control" ?
What if the window has no controls, whatever are those suppose to mean, and i just want to click some coordonates of that window without activating the said window and without intrerupting my mouse movements, if those mouse movements occur in the same frame of time as the clicks ! |
|
| Back to top |
|
 |
soccer18soccer18
Joined: 18 Nov 2008 Posts: 101
|
Posted: Sat Nov 22, 2008 9:30 pm Post subject: |
|
|
if you want it to click on an inactive window you can use control click
| Code: | | ControlClick, x100 y150, Title of Window |
you can get the x and y coordinates with window spy. and obviously you get the title of the window from the bar at the top.
and yes, you can use the mouse to click other things while it sendign the clicks to the inactive window.
hope this helps |
|
| Back to top |
|
 |
Bytales
Joined: 06 Sep 2008 Posts: 84
|
Posted: Sun Nov 23, 2008 12:02 am Post subject: |
|
|
| soccer18soccer18 wrote: | if you want it to click on an inactive window you can use control click
| Code: | | ControlClick, x100 y150, Title of Window |
you can get the x and y coordinates with window spy. and obviously you get the title of the window from the bar at the top.
and yes, you can use the mouse to click other things while it sendign the clicks to the inactive window.
hope this helps |
Those X and Y coords are always relative to the windows or they are relative to the whole screen and i need to make them relative to the said window?
The title of window, is it the TITLE or the AHK class ? which are different in some apps ! |
|
| Back to top |
|
 |
soccer18soccer18
Joined: 18 Nov 2008 Posts: 101
|
Posted: Sun Nov 23, 2008 1:36 am Post subject: |
|
|
| Bytales wrote: | | soccer18soccer18 wrote: | if you want it to click on an inactive window you can use control click
| Code: | | ControlClick, x100 y150, Title of Window |
you can get the x and y coordinates with window spy. and obviously you get the title of the window from the bar at the top.
and yes, you can use the mouse to click other things while it sendign the clicks to the inactive window.
hope this helps |
Those X and Y coords are always relative to the windows or they are relative to the whole screen and i need to make them relative to the said window?
The title of window, is it the TITLE or the AHK class ? which are different in some apps ! |
ok this is what you want:
this is the windows spy thing:
>>>>>>>>>>( Window Title & Class )<<<<<<<<<<<
Post a reply - Windows Internet Explorer
ahk_class IEFrame
>>>>>>>>>>>>( Mouse Position )<<<<<<<<<<<<<
On Screen: 472, 295 (less often used)
In Active Window: 476, 269
you want to look the things i bolded up there.
the first thing under Window Title & Class is the window title.
the second thing under Mouse Position us the mouse position in the active window, which is what you want. the first one (476) is the x and the second (269) is the y. so if you wanted it to click at the 476, 269 coordinates on the Post a reply - Windows Internet Explorer (the ahk website) this is what the code look like.
| Code: | | controlclick, x476 y269, Post a reply - Windows Internet Explorer |
does that help? |
|
| Back to top |
|
 |
Bytales
Joined: 06 Sep 2008 Posts: 84
|
Posted: Sun Nov 23, 2008 2:49 am Post subject: |
|
|
| Yap, it works with a normal window, such as mozzila firefox, however, it does not work with a windowed game. Bad luck i guess .... |
|
| Back to top |
|
 |
soccer18soccer18
Joined: 18 Nov 2008 Posts: 101
|
Posted: Sun Nov 23, 2008 3:43 am Post subject: |
|
|
what do you mean by a windowed game?
do you mean like an online game? or another computer game? because it should still work with any window. |
|
| Back to top |
|
 |
Frankie
Joined: 02 Nov 2008 Posts: 2850
|
Posted: Sun Nov 23, 2008 3:54 am Post subject: |
|
|
| i know from other topics that maplestory doesn't work with most ahk commands |
|
| Back to top |
|
 |
G19 Guest
|
Posted: Sun Nov 23, 2008 6:07 am Post subject: |
|
|
Is it possible to display two mouse cursors on the screen?  |
|
| Back to top |
|
 |
Bytales
Joined: 06 Sep 2008 Posts: 84
|
Posted: Sun Nov 23, 2008 10:48 am Post subject: |
|
|
| soccer18soccer18 wrote: | what do you mean by a windowed game?
do you mean like an online game? or another computer game? because it should still work with any window. |
Yah, an online game.....  |
|
| Back to top |
|
 |
soccer18soccer18
Joined: 18 Nov 2008 Posts: 101
|
Posted: Sun Nov 23, 2008 4:50 pm Post subject: |
|
|
well then it should still work. get the wintitle from window spy and do what i said before.
post if u figure it out |
|
| Back to top |
|
 |
|