I am not really sure how to start or word this.
I managed to find how to get the process ID by name, but i am having a new dilemma.
I need to get the process ID of an exe by the name of the exe, but if the exe is already open it needs to ignore those process ids.
If i have 6 "notepad.exe" open, i need my application to ignore the 6 already running and wait for a new one to open, then save that process id in a variable.
Can anyone help me with this?
It looks like you're new here. If you want to get involved, click one of these buttons!