#cs ----------------------------------------------------------------------------

AutoIt Version: 3.3.6.1
Author: H. Tsubota

Script Function:
    メモ帳に「hello world.」と入力するマクロ

#ce ----------------------------------------------------------------------------

Run( "notepad.exe")
WinWaitActive("[CLASS:Notepad]")
ControlSend("[CLASS:Notepad]", "", "Edit1", "hello world.")
Sleep(3000)
WinClose ("[CLASS:Notepad]")
ControlClick ( "メモ帳", "いいえ(&N)", "Button2")

Blog <実験記録 No.02>.