How can I get the current window handle so that I can use it (If there are multiple windows with same name)

In_handle is a value that I pass as an argument to the UiPath workflow. I use Autohotkey to find the target window title text and get the int32 handle value. I then call the workflow from AHK script. You can also use UiPath Get Attribue to get the handle value.