2009/05/23

Creating Keyboard Macros in VBScript



Creating a keyboard macro in VBScript is an easy and highly portable way to automate tasks for any Windows machine. It is portable because every modern installation of Windows will have the Windows Scripting Host (WSH) installed, and that is all that is required to run the VBScript source code.

But I have found that writing a macro in VBScript can be time consuming. Truthfully, when starting from scratch it is much easier to use a language dedicated to macro building such as Autoit. However, by using a VBScript macro template you can easily create macros that are much more human readable, even to a complete computer novice. Use the link above to download one that I have created.

By using the template, I have been able to teach a few of the users at my work how to automate some of the tasks they were performing manually everyday. I have even found that I prefer my template's language over the commands available to Autoit. But I do realize it is rather limited.

Again, here is the link to the VBScript keyboard macro template that I have created.

0 comments:



ScriptingMadness.Blogspot.com © 2009 || Privacy Policy