in reply to Re^2: How to Retrieve another Process' Window Title?
in thread How to Retrieve another Process' Window Title?

You say:

I just have this thing that I don't like to 'shell' to the OS -- it just seems to be like "giving-up" or something...(!)

After just having said:

I should be able to call Windows to do my job for me,

Run this:

tasklist /nh /v | perl -nle"@a=unpack'A29A5A123A*',$_; print join'|',@ +a[1,3]"

That's Windows "doing your job for you".


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.