I am new to python. Is there any way that python can detect when a field is focused in an external program? The script would just need to know when a text input field was selected.

Thanks,

I think you need to be more specific.