---------------------------------------------------------------------03/09/2007
MacroLaunch.swp                   Written by Leonard Kikstra,
                                   Copyright 2003-2007, Leonard Kikstra
                                   Downloaded from Lenny's SolidWorks Resources
                                       at http://www.lennyworks.com/solidworks
-------------------------------------------------------------------------------

Launch custom SolidWorks macros from a simple interface.
  * Displays available macros based on filetype of current document.
  * Allows for addition of descriptions for each macro.
  * Macro list is configurable via external data file.

-------------------------------------------------------------------------------

Notes: Source file must be in same directory as macro file.
       Source file must have same name as macro file with '.ini' extension.

-----------------------------------------------------------------------------

Revision History

 v1.00  12/12/2004  * Initial creation

 v1.10  06/15/2005  * Incorporated 'MacroCommon' common path.

 v1.20  03/09/2007  * Updated appearance

-------------------------------------------------------------------------------

DISCLAIMER:
* These macros are provided free of charge for personal use and/or reference. 
* These macros may be freely distributed, provided the original copyright 
  notices remain unchanged and intact. 
* All macros were written to work with SolidWorks 2003. 
* These macros, and corresponding files, are provided as is. 
* There are no warranties, expressed or implied, that these macros will perform 
  as indicated, perform to users expectations, or complete a specific task. 
* These macros will change the current SolidWorks document. Use these macros at 
  your own risk. Back up your data before using this macro on any SolidWorks 
  document. 

-------------------------------------------------------------------------------

Setting up the external data file (MacroLaunch.ini)

There following 5 categories that should exist in the external data file to 
define when macros are available.  When a macro name is listed under these 
categories, it will appear in the macro list whe MacroLaunch is run.

[0]	Available when there are no active documents in SolidWorks.

[1]	Available when a Part document is active

[2]	Available when an Assembly document is active

[3]	Available when a Drawing document is active

[ALL]	These macros are available at all times.


Additional categories must also exist in the external data file that define 
the parameters for launching macros listed in the categories above.  The 
format for these categories is as follows:


[MacroName]
"Macro Path and filename", Module, Procedure
"Multi line description"


[MacroName]
	Must exist for each macro listed in the categories above.

"Macro Path and filename" 
	This is the full path and filename of the macro file.

Module
	The name of the module within the macro that contains the routine to 
	start the macro.

Procedure
	The name of the routine to start the macro.


The macro descriptions are read from the external data file when a macro name 
is selected.  This allows changes to the macro description to be dynamic 
which allows you to see how the descriptions appear when read into the macro.

-----------------------------------------------------------------------------
