Home of Macro Scheduler - Macro Tools and Automation Software
Marcus’ Macro Blog
Mostly tips, tutorials, articles and news about Macro Scheduler & Windows Automation
Download Macro Scheduler
Free 30 Day Trial

How to use Include

April 3rd, 2008 by Marcus Tettmar

Dick Lockey has written a nice example in Scripts ‘n Tips showing a good use of the Include statement. Include allows you to include other scripts in your code. A good use of this is to keep commonly used subroutines, VBScript code, or dialogs in scripts that you can then Include in your macros, rather than duplicating the code across all the macros that use it. If you ever need to fix or modify this code you then only need to do it once. It also makes your main scripts smaller and easier to read.

Dick’s example provides a function for validating dialog field lengths. Useful in itself.

Read the example here.

Bookmark this at:
    Bookmark How to use Include at del.icio.us    Digg How to use Include at Digg.com    Bookmark How to use Include at Spurl.net    Bookmark How to use Include at Simpy.com    Bookmark How to use Include at NewsVine    Blink this How to use Include at blinklist.com    Bookmark How to use Include at Furl.net    Bookmark How to use Include at reddit.com    Fark How to use Include at Fark.com    Bookmark How to use Include at YahooMyWeb

Leave a Reply

Sitemap | Privacy Policy | © MJT Net Ltd 1997-2008 All Rights Reserved.

Windows Vista and the Windows logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.