Using Scripts in Audits
| Overview |
Repetitive and complex tasks can sometimes best be addressed using scripts. The primary advantages of using scripts in audits include:
|
| How it works |
Scripts are developed using an ordinary text editor such as Word Pad or Scite. Text is typed in and the script can then be run to verify that the script achieves the desired audit objectives. Available scripting languages include Microsoft Visual Basic, Microsoft Excel, AutoIt3, Python, C++, Java and others. The examples shown here are written in AutoIt, but would be very similar in other languages. I prefer Autoit for these reasons:
|
| The Autoit Language |
| One of the more powerful scripting languages available is the "AutoIt" scripting language. Those familiar with the Basic language will find it quite similar. Although the original intent of AutoIt was for performance of repetitive tasks associated with LAN management, it has found a variety of other uses, which include the performance of complex audit tasks. The language is quite robust and there is much more information at the AutoIt web site. Cost if $0. AutoIt supports COM objects and can thus incorporate the functionality of numerous external software packages. |
| Using Audit Commander |
| Audit Commander can be easily incorporated into Autoit scripts as a "COM" object. Common uses Audit Commander in AutoIt scripts include:
|
