When using your script to pull data out of one instance of Zemax and feed it into another - maybe because some nasty system cannot be simulated entirely in one file - it is useful to have the script connect to both instances of Zemax. According to the Zemax manual this can be managed during estblishing the DDE link by specifying the application names 'Zemax1' and 'Zemax2' respectively.