Re: Using AutoIt?
- Posted by Matt Lewis <matthewwalkerlewis at ?mail.c?m> Aug 31, 2007
- 736 views
Patrick Murphy wrote: > > I'm not that familiar with Euphoria (and I've only written > simple programs in AutoIt), but my impression is that > AutoIt, designed to do scripting, can do more with > interfacing with other programs than Euphoria - it can > expose the text in a dialog box, for example, so that if > you are looking for a certain string to indicate success > or failure of some process in another application, > AutoIt allows you to write code to do so, and can have > the mouse click on the dialog box buttons as desired. > > Or, can Euphoria do this as well? Yes, Euphoria could do this. Euphoria is a general purpose programming language, and can use all of the Win32 API (which is what I presume AutoIt would do in your example) to discover other windows, etc. However, since Euphoria is general purpose, someone would have to write more low level code to do that. Of course, once that person did, then everyone else could use it. Essentially, the AutoIt (from what I know about it) developers have \ written a lot of this low-level stuff to allow you to automate these higher level tasks. It's more of a scripting language in the traditional sense (used to script certain actions, or as glue between multiple applications) than Euphoria, which is perhaps better described as an interpreted (or compiled) general purpose programming language. In short, you can do everything with Euphoria that AutoIt can do (although the first time you do it, it will probably take a lot more work), but AutoIt cannot do everything that Euphoria can do (at least not in a sane fashion). Matt