How to type text with remote