Announcement

Collapse
No announcement yet.

mouse control

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    mouse control

    it is possible to send key press via homeseer, example: hs.launch("calc.exe","")
    But how is it possible to move the mouse to a certain position of the screen? Or to click on this position?

    #2
    mikel546,

    As far as I know, you can’t move the mouse via HomeSeer or scripting. Can you give us an idea on what you are trying to do by moving the mouse?

    If you are attempting to click on buttons in an external program, you can "tab" through each button using hs.keys or you can "arrow" over. Sending the "enter" key is the same as a mouse click on the button that has focus. If the buttons have hot keys associated with them you can click on them directly also.

    Joe
    HomeSeer Rocks!

    Comment


      #3
      thank you for good advice Joe, but the program I want to control can only be controled via mouse events and this is the problem.

      Comment


        #4
        I have used Ghost Mouse to record mouse movements and replay them. Works good.


        http://www.freewareweb.com/cgi-bin/a...nload=1&ID=375

        -Rupp

        If Fedex and UPS were to merge, would they call it FedUP?
        -Rupp
        sigpic

        Comment


          #5
          This is a very good advice, Rupp!
          Yes it works, I have tried with hs.launch("c:\gmouse20\gmouse.exe","c:\gmouse20\record.gms") .
          But Mouse movement recording is very primitiv: only absolute mouse positions are recorded. So you must be carefull if you change screen resolution.
          I am looking for a solution with mouse_events sent to a specific window, exactly like the native key function of homeseer.

          Comment


            #6
            Check this one out:

            http://www.hiddensoft.com/AutoIt/

            Pretty cool program, and it's free, this one might be able to do the job.

            ---
            http://www.CocoonTech.com
            HSPRO 2.4 (ESXi 4.1) | my.Alert NEW | my.Trigger | HSTouch | ACRF2 | UltraM1G | BLWeather | BLLan | Rover
            (aka xplosiv)
            Do You Cocoon? Home Automation News, Tutorials, Reviews, Forums & Chat

            Comment


              #7
              thank you very much Dan! this tool is exactly what I need!

              Comment

              Working...
              X