Automa Blog

Automa 2.6: Improvements

After a small break over the (European) summer, we're happy to report back to you with a new and improved version of Automa, 2.6 :-)

The first significant improvement in Automa 2.6 is that playing back files has become significantly easier. Previously, scripts which you had saved with a .at extension had to obey the exact same syntax rules as when you typed the file into the interpreter. For example:

notepad = start('Notepad')
if MenuItem('File').exists():
    print 'All good!'
 
kill(notepad)

Do you notice the extra, empty line after print 'All good!'? This used to be required because when you type in the above script in the Automa console, you needed to confirm with an empty line that you want to close the if block:

>>> notepad = start('Notepad')
>>> if MenuItem('File').exists():
...     print 'All good!'
...

This makes sense in the interactive interpreter (because otherwise it has no other way to know whether you are done with the if block), but for a saved .at file where the next lines are known, it was sometimes very confusing. That is why we changed it so you can now write

notepad = start('Notepad')
if MenuItem('File').exists():
    print 'All good!'
kill(notepad)

in your .at scripts.

In the process of improving Automa's playback capabilities, we also improved its error reporting. When there is an error in a script and you try to play it back using Automa, it now gives you more detailed information about where the error occurred. Another issue pointed out to us by some of our users is that when you ran a script with an error by opening it with Automa.exe, then the Automa console window used to close too quickly for you to be able to read the precise error message. We also fixed this so that the error is displayed until you explicitly close the console window.

Finally, Automa 2.6 adds support for the latest version 36 of the Google Chrome browser.

Happy automating!

blog comments powered by Disqus