From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,72b732a1dc8500e X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder.news-service.com!69.16.177.246.MISMATCH!cyclone03.ams.highwinds-media.com!news.highwinds-media.com!npeersf01.ams.highwinds-media.com!newsfe17.ams2.POSTED!40385e62!not-for-mail Message-ID: <490021F2.7060503@bredband.net> From: Per Sandberg User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: [ANN] ada-autoit updated to work with AUtoIt v3.2.12 References: <3hsLk.20974$he4.20381@newsfe27.ams2> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@WWWSpace.NET NNTP-Posting-Date: Thu, 23 Oct 2008 06:14:27 UTC Date: Thu, 23 Oct 2008 08:04:18 +0100 Xref: g2news1.google.com comp.lang.ada:2470 Date: 2008-10-23T08:04:18+01:00 List-Id: A short reply. *) Yes Autoit is a quite simple and its a lot of things it don't do. *) The drive behind the binding was simplicity. *) A# is out of the question for several reasons alto it might work very well but i got a lot of legacy stuff and just want to press a few buttons. *) What i found using GnatCOM direct is that i end up with a lot of code in the application layer and usually have to write some kind of wrapper on the generated code anyway (to leave the COM-World). So I usually find it simpler to translate from the C header files direct to Low Level Ada by hand (basically what i will get from GnatCOM) and then do the higher Level Ada mapping. Of course all this depends on size and complexity of the interface. /Per Steve wrote: > "Per Sandberg" wrote in message > news:3hsLk.20974$he4.20381@newsfe27.ams2... >> ada-autoit is a medium thick Ada-binding to the scripting tool Auto It. >> >> Note this tool is very win32 specific. >> >> For more info see: >> http://www.autoitscript.com/autoit3/index.shtml >> and: >> http://sourceforge.net/projects/ada-autoit/ > > I recently tried using autoit and found it interesting. Unfortunately it > wasn't able to do everything I wanted to do with out a lot of extra work, or > at least learning a new programming language (the special dialect of basic > used by autoit). I did a little research to see if there was an easier way > and found the Microsoft UI Automation Library. > > http://msdn.microsoft.com/en-us/magazine/cc163288.aspx > > For my app I wound up using the c# and the.net framework which contains an > automation framework (system.windows.automation). If I were developing the > same app in Ada I would either use A# or create a binding to the Microsoft > UI Automation Library using GnatCOM. > > Regards, > Steve > >