#cs ---------------------------------------------------------------------------- AutoIt Version: 3.3.14.2 Author: myName Script Function: Template AutoIt script. #ce ---------------------------------------------------------------------------- ; Script Start - Add your code below here #include #include ; Open the file for reading and store the handle to a variable. $hFileOpen = FileOpen("message") ; Read the contents of the file using the handle returned by FileOpen. $sFileRead = FileRead($hFileOpen) ; Close the handle returned by FileOpen. FileClose($hFileOpen) ; Display the contents of the file. MsgBox(0,"",$sFileRead) ;MsgBox ( flag, "title", "text" [, timeout = 0 [, hwnd]] )