I have a Python script using win32com to open a Visio file and dump each tab as .png files. It briefly flashes the Visio gui up on the screen when it does this. Is there any way to do this in the background without loading the Visio window?
import win32com.client
visio = win32com.client.Dispatch("Visio.Application")
visio.Documents.Open(filepath)
...
visio.Quit()
should create a Visio instance that is invisible.
See http://msdn.microsoft.com/en-us/library/aa201815(v=office.10).aspx