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