Thread: eMonitor
View Single Post
Old 06-16-2012, 01:51 PM   #56
Armegalo
Junior Member
Armegalo began at the beginning.
 
Posts: 4
Karma: 20
Join Date: May 2012
Device: Amazon Kindle
Eek, I wouldn't know how to run it in the VM.
Nah, turning off the hardware accel didn't do much, but thanks for the suggestion.
And yep, it's a windows box (xp).
I'm brand new to python so still finding my way. One thing I thought was perhaps I could just draw a new pointer on top of the image after it's been captured.
Haven't had much luck so far - can't even get the bloody thing to tell me where the mouse actually is...

Code:
mouse=wx.MouseEvent()
mouse_pos=mouse.GetLogicalPosition(context)
print "Mouse ="+str(mouse_pos.x)+","+str(mouse_pos.y)
I get that "context" is probably the wrong thing to pass to the MouseEvent class but what should it be?

Last edited by Armegalo; 06-16-2012 at 02:01 PM.
Armegalo is offline   Reply With Quote