Código Delphi [-]If FindWindow('notepad',nil) <> 0 then SendKeys('A') else showmessage('No hay ningún notepad abierto.')
If FindWindow('notepad',nil) <> 0 then SendKeys('A') else showmessage('No hay ningún notepad abierto.')