hello
I am trying to use mouse move absolute, but I cannot find a way in eventghost to display my X and Y mouse position.
It seems like a simple problem and it must have a simple solution?
Thank you
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
finding mouse coordinates/position
Re: finding mouse coordinates/position
There is no action from the mouse plugin, but here is the basic to display the x and y coordinates.
This was all taken right out of the mouse plugin.
Code: Select all
from eg.WinApi.Dynamic import mouse_event, GetCursorPos, SetCursorPos, POINT
point = POINT()
GetCursorPos(point)
print point.x
print point.yRe: finding mouse coordinates/position
thanks.
Should I insert this code in eventghost.xml under an action?
Thanks again
Should I insert this code in eventghost.xml under an action?
Thanks again
Re: finding mouse coordinates/position
It would look something like this:
Use whatever event item is good for you.
Use whatever event item is good for you.
Re: finding mouse coordinates/position
thanks Dragon, its works . 