Mouseclick at screen position

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • YarrOfDoom
    Recognized Expert Top Contributor
    • Aug 2007
    • 1243

    Mouseclick at screen position

    How can I make the mouse click at a certain position, expressed in pixels counted from the left top corner of the screen? I've tried google and some threads here on The Scripts, but none of them seemed to work. Using vb6.

    Yarr
  • daniel aristidou
    Contributor
    • Aug 2007
    • 494

    #2
    Originally posted by YarrOfDoom
    How can I make the mouse click at a certain position, expressed in pixels counted from the left top corner of the screen? I've tried google and some threads here on The Scripts, but none of them seemed to work. Using vb6.

    Yarr
    Hey ...i found out how to do it on here....let me see whether i can find the thread..
    kk think i found it....
    try this:
    Thread

    Comment

    • YarrOfDoom
      Recognized Expert Top Contributor
      • Aug 2007
      • 1243

      #3
      Thanks, but the thread you linked me to is about capturing the position of the mouse and the window it's currently on etc. What I want to do could be described as "clicking by code", so actually overruling the mouse with the program.

      Comment

      • daniel aristidou
        Contributor
        • Aug 2007
        • 494

        #4
        Originally posted by YarrOfDoom
        Thanks, but the thread you linked me to is about capturing the position of the mouse and the window it's currently on etc. What I want to do could be described as "clicking by code", so actually overruling the mouse with the program.
        Oops sorry let me locate the correct one

        Comment

        • daniel aristidou
          Contributor
          • Aug 2007
          • 494

          #5
          Kk Try this

          Comment

          • YarrOfDoom
            Recognized Expert Top Contributor
            • Aug 2007
            • 1243

            #6
            Almost, it needs to click too :P.

            Comment

            • QVeen72
              Recognized Expert Top Contributor
              • Oct 2006
              • 1445

              #7
              Hi,

              Try This

              Regards
              Veena

              Comment

              • Killer42
                Recognized Expert Expert
                • Oct 2006
                • 8429

                #8
                Subscribing .

                Comment

                • YarrOfDoom
                  Recognized Expert Top Contributor
                  • Aug 2007
                  • 1243

                  #9
                  Ok, I'm trying to get it working, but it's a bit difficult, as I don't have Visual Studio myself anymore, and so a friend of mine is doing the whole compiling etc, as the program is made for him anyway.
                  I'll post more if it's done.

                  Comment

                  Working...