Forum Discussion

ucuber's avatar
ucuber
Occasional Contributor
7 years ago

One Alias/Mapping for several parallel running instances of a program

Hi there,

 

I have a little perhaps trivial question I do not know how to solve.

 

Given: 

- A program named GpxSimulator basing on C#.NET with a multi-tab gui

- A mapping/alias to GpxSimulator 

- A number of GpxSimulator instances running at the same time. They have to run on the same machine

 

Needed:

- A script (python) that defines a number of objects that map to the running instances individually, identified by the process id

- In this instances the name mapping/alias should be used to do things with the gui-elements of the instance

 

Have everything...the Alias (only a simple one, mapping to the MainWindow, but for a poc this is enough), the script to start up several instances of the program while getting the pid of every instance. And know I do not know how to connect the pid/specific instance with the alias to manipulate it ...

 

Help is appreciated

 

Regards

 

Ulrich