laziness, impatience, and hubris | |
PerlMonks |
Re: Mimicking UNIX Eyesby Kirsle (Pilgrim) |
on Dec 18, 2009 at 23:29 UTC ( [id://813456]=note: print w/replies, xml ) | Need Help?? |
Try the module X11::GUITest. It may help you get the cursor's position in X11. From the readme...
Combine this with a simple Tk window for drawing the eyes, and X11::GUITest should help ya get the cursor position so you don't need Tk to handle that part. Of course this approach is only good for X11 systems and isn't cross platform to Windows or OS X.
In Section
Seekers of Perl Wisdom
|
|