Win32::GuiTest will do it for you on Windows.
In reply to Re: Need Command to Hit Enter by GrandFather in thread Need Command to Hit Enter by koti688