Run Notepad, Type Some Text, Open About
This script demonstrates simulating multiple keyboard sequences. First, the Run dialog is opened ("@r" = WIN+R), then types "notepad" followed by Enter key ("~"), then types "hello world" and opens the About window in Notepad ("%h" = ALT+H followed by "a" selects the About menu item).