TCC > Variables & Functions > Functions:
Comments (...)
@PPID[filename] : Returns the PID for the parent process of the specified name (or 0 if no match). If you have multiple copies of the same executable running, @PPID will return the parent PID for the first one it finds.
Help URL: http://jpsoft.com/help/index.htm?f_ppid.htm