How to use AutoIt on Boo

View: New views
2 Messages — Rating Filter:   Alert me  

How to use AutoIt on Boo

by G00gle and Python Lover :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Boo Programming Language" group.
To post to this group, send email to boolang@...
To unsubscribe from this group, send email to boolang+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/boolang?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: How to use AutoIt on Boo

by G00gle and Python Lover :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Boo Programming Language" group.
To post to this group, send email to boolang@...
To unsubscribe from this group, send email to boolang+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/boolang?hl=en
-~----------~----~----~----~------~----~------~--~---