Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DirectX - Mouse Won't Move
#15
Gintaras Wrote:There is another free program, AutoIt. These 2 programs are similar. AutoIt has a COM component that includes some its functions. You can try it. Example (in QM):

Code:
Copy      Help
typelib AUTOIT "C:\Program Files\AutoIt3\AutoItX\AutoItX3.dll"
AUTOIT.AutoItX3 ai._create
ai.MouseClick("LEFT" 300 300 1 5)
ai.MouseClick("LEFT" 400 400 1 5)
ai.MouseClick("LEFT" 500 300 1 5)

In the example used AutoItX3.dll is installed with AutoIt. Maybe autohotkey has a COM component too, I don't know (maybe it can be downloaded separately).

I installed the autoit to use your code above, can be run, but I created the code, but can not run, I hope you can help me have a look, thanks a lot

However, in the autoit editor, it can be run successfully, the following picture

Macro Macro2
Code:
Copy      Help
typelib AUTOIT "C:\Program Files (x86)\AutoIt3\AutoItX\AutoItX3.dll"
AUTOIT.AutoItX3 ai._create

ai.Run("notepad.exe")
ai.WinWaitActive("Untitled - Notepad")
ai.Send("This is some text.")


Attached Files Image(s)
   


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)