Maptitude - http://research.umbc.edu/~roswell/maptitude.html

Larry Teeters writes:

> I would like to see one of the following ways to automatically trigger
> Addins when opening Maptitude:
> 
> A:  An option on the execute line that would open a specified Addin (after
> the normal user interface).
> 

This was added to Maptitude 4.2.  You can use the -a and -ai
command line options:

    -a <compiled add-in interface>
    -ai <add-in initial macro>

This causes Maptitude to start up with the usual interface, but in
addition, it would load the add-in database, and then run the
add-in initial macro, if provided.

For instance, if you compile this resource into test.dbd

Macro "Hello Macro"
   ShowMessage("Welcome")
endMacro

you can have it executed on startup with

mapt.exe -a test.dbd -ai "Hello Macro"

Note that you should provide full path to test.dbd if it is not in
the Maptitude program directory.  You might also want to add the -Q
command line option, to skip the Quick Start dialog, since the
Quick Start is executed before your add-in.

-Kjartan


______________________________________________________________________
To unsubscribe, write to [EMAIL PROTECTED]

Reply via email to