Read mouse position??

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • skyy
    New Member
    • May 2007
    • 109

    Read mouse position??

    Hi...

    Is there Perl script that can read the mouse position?

    Or is there other language that can use to read mouse position?

    Thanks..
  • KevinADC
    Recognized Expert Specialist
    • Jan 2007
    • 4092

    #2
    if you mean in the browser window: javascript.

    Comment

    • skyy
      New Member
      • May 2007
      • 109

      #3
      Originally posted by KevinADC
      if you mean in the browser window: javascript.

      Nope not from the browser alone but outside the browser or anywhere...

      Comment

      • KevinADC
        Recognized Expert Specialist
        • Jan 2007
        • 4092

        #4
        You can look into perl TK, but I know little about it myself.

        Comment

        • rahulja
          New Member
          • Jul 2007
          • 2

          #5
          try this lines in tkcon.

          ############### #######
          set cx [winfo pointerx .] ;
          set cy [winfo pointery .] ;
          puts $cx;
          puts $cy;
          ############### #######
          This is purely tk commands.

          Comment

          Working...