So here is the tutorial I used.
Run("notepad.exe")
WinWaitActive("Untitled - Notepad")
Send("Cool IT Help Tutorial")
WinClose("*Untitled - Notepad")
WinWaitActive("Notepad", "Save")
Send("{ENTER}")
WinWaitActive("Save As", "Text")
Send("C:\Users\4477724\Desktop\AutoIT\MyFirstFiletxt")
WinWaitActive("Save As", "Save")
Send("{ENTER}")
WinWaitActive("MyFirstFile.txt - Notepad")