title: Autoit How to retrieve file path opened by process by process PID
body: <p>I want to get the full path of some file opened by some process
  for example : an image opened by paint or in my case multiple notepad processes are running and I got the PID for each notepad.exe process so when using</p>
  
  <pre><code>_ProcessGetPath
  </code></pre>
  
  <p>I get the path of notepad.exe not the file.txt which opened by process, Now how to retrieve the txt file path ?</p>