Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. how to make a mouse macro recorder with c#?

how to make a mouse macro recorder with c#?

Scheduled Pinned Locked Moved C#
csharptutorialquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Amin Diary
    wrote on last edited by
    #1

    i need to know how made a macro recorder? i want to move the mouse cursor and click on a textBox and enter a value and so click on button!! but computer must do this! not user! how?:confused:

    Imposible is Imposible...

    K M 2 Replies Last reply
    0
    • A Amin Diary

      i need to know how made a macro recorder? i want to move the mouse cursor and click on a textBox and enter a value and so click on button!! but computer must do this! not user! how?:confused:

      Imposible is Imposible...

      K Offline
      K Offline
      Kristian Sixhoj
      wrote on last edited by
      #2

      Do you want the user to record a macro, or should the application just run a pre-recorded macro?

      Virtual1ty


      "Any fool can learn from his own mistakes, but a wise man learns from mistakes of others"

      A 1 Reply Last reply
      0
      • K Kristian Sixhoj

        Do you want the user to record a macro, or should the application just run a pre-recorded macro?

        Virtual1ty


        "Any fool can learn from his own mistakes, but a wise man learns from mistakes of others"

        A Offline
        A Offline
        Amin Diary
        wrote on last edited by
        #3

        mmm... i want the program runs the macro! but i don't know what is the macro really?:((

        Imposible is Imposible...

        K 1 Reply Last reply
        0
        • A Amin Diary

          mmm... i want the program runs the macro! but i don't know what is the macro really?:((

          Imposible is Imposible...

          K Offline
          K Offline
          Kristian Sixhoj
          wrote on last edited by
          #4

          A macro is a set of instructions, that makes the app do something. A macro can basically do everything - move the mouse cursor, type some text, open other programs etc. I don't know to make a macro recorder, but I know what you can do, if the app just should do the same thing every time: Simply just hard code the "macro", so it runs everytime the application is executed. It can take some time, but it works.

          Virtual1ty


          "Any fool can learn from his own mistakes, but a wise man learns from mistakes of others"

          1 Reply Last reply
          0
          • A Amin Diary

            i need to know how made a macro recorder? i want to move the mouse cursor and click on a textBox and enter a value and so click on button!! but computer must do this! not user! how?:confused:

            Imposible is Imposible...

            M Offline
            M Offline
            martin_hughes
            wrote on last edited by
            #5

            Have a look at the Command Pattern: http://www.codeproject.com/books/DesignPatterns.asp[^] This should give you some ideas on how to record a users actions...

            Me: Can you see the "up" arrow? User:Errr...ummm....no. Me: Can you see an arrow that points upwards? User: Oh yes, I see it now! -Excerpt from a support call taken by me, 08/31/2007

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups