Boo

How to use AutoItX on Boo

Details

  • Type: Wish Wish
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 0.9.2
  • Fix Version/s: 0.9.2
  • Component/s: None
  • Labels:
    None
  • Environment:
    Windows 7 x64 RC
    Intel Core 2 Quad Q6600
    Kingston 4GB Ram
    nVidia 8800GT
  • Number of attachments :
    0

Description

I'm very very new to Boo. I could make a AutoIt app in C#. Using SharpDevelop 3.1. This is a very easy question. For who don't know AutoIt, it is a basic like language. It can simulate mouse click and key presses. Works on most directx and other games. It has a DLL called AutoItX that can be used in other languages. So, I successfuly added reference of AutoItX.dll in SharpDevelop.
In C#, I get the functions by this code: au3 = new AutoItX3Lib.AutoItX3Class(); But in Boo, au3 = AutoItX3Lib.AutoItX3Class or au3 = AutoItX3Lib.AutoItX3Class() don't work right. I can't get the functions. I typed functions manually, I saw the description well, but when I try to compile, there was an error called "'WinActivate' is not a member of 'System.Type'". WinActivate is the function. I can see functions in Class Table, all of them! When I use with (), and click the button, debugger shows a message and marks au3 = AutoItX3Lib.AutoItX3Class(). Please help me.

Activity

Hide
Python Tech added a comment -

Ok I found the problem. I registered AutoItX3.dll in command prompt. I added it from COM. Still can't see the functions but manually adding works.

Show
Python Tech added a comment - Ok I found the problem. I registered AutoItX3.dll in command prompt. I added it from COM. Still can't see the functions but manually adding works.
Hide
Python Tech added a comment -

..

Show
Python Tech added a comment - ..

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: