i tryied to find the process handle,
HWND handle = FindWindow(0 ,TEXT("window title"));
i need window title
Let's say that I have tow process with the same title
so i want to make something like:
for each p as process in process.getProcessByName("notepad")
if process.processname = "notepad" then
handle = p.handle
exit for
end if
next