Is it possible to get the window handle of a window using just its "title"

The method has be a universal method which can be used by different languages.

I was thinking something like a vbscript file which is then executed using system shell the output is sent to a text file in a temp folder. you open the text file and then get the handle then delete the file.

anything like this possible