WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.


Process ID

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Obtain Window Ids From a Process Id


How do I obtain a window ID from a process id?

I am running multiple instances of FlasKMPEG (MPG/VOB->AVI converter) and I obtain a list of all process IDs belonging to FlasKMPEG processes, then I am trying to obtain window IDs so I can click a button on each window.

My goal is when WB detects a WinTV.exe process is in memory, to Pause all instances of FlasKMPEG, wait for the WinTV.exe process to be terminated, then resume all FlasKMPEG instances.


OK Given a Process ID, then you can use the WinItemProcId function to get the list of window ID's associated with that processID.
Article ID:   W15862
File Created: 2017:07:28:12:58:39
Last Updated: 2004:03:30:14:41:12