require 'win32GuiTest' sleep 5 gui=Win32GuiTest.new gui.mouseMoveAbsPix(602, 73); gui.sendMouse('{LEFTCLICK}'); gui.sendKeys('thi{BAC}'); gui.sendRawKey(VK_LMENU, KEYEVENTF_EXTENDEDKEY); gui.sendRawKey(VK_LMENU, KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP); gui.sendKeys('this{SPC}is{SPC}a{SPC}test.{ENT}'); gui.sendRawKey(VK_LMENU, KEYEVENTF_EXTENDEDKEY); gui.sendRawKey(VK_LMENU, KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP); gui.sendKeys('koreha{ENT}nihonngo{SPC}desu.{ENT}{ENT}');