检索调用进程的进程标识符
#Include <WinAPI.au3> _WinAPI_GetCurrentProcessID()
在MSDN中搜索
#include <WinAPI.au3> MsgBox(4096, "ID", "Get Current Process: " & _WinAPI_GetCurrentProcessID())