Fairly new to MapInfo both versions. I am a efficient user of ArcGIS, but my query being I was reading up on MapBasic but all the examples for these scripts are for running within MapInfo. Is there any way you can write script (stand alone) outside of MapInfo to make it do something?

I would like some suggestions on what other software can control MapInfo. I am used to writing python scripts outside of ESRI ArcGIS desktop and being able to run the mxds without even opening up the maps. So similarly I wanted to know what can be done for MapInfo?

  • There is talk of future versions of MapInfo moving away from MapBasic and using Python. No idea on timescales or the extent of the integration but apparently it's on the cards. – BStone Dec 14 '17 at 14:33

Sure, if you run MapInfo from the command line with the -server parameter then MapInfo will run in the background with no splash-screen and no application window. You can then run your MBX on this instance of MapInfo which will continue to run in the background. Obviously you will probably want to close the MapInfo instance programatically once you've finished processing as there will be no application window to close.

For more info and an example you can have a look here.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.