KenNichols Posted May 14, 2009 Share Posted May 14, 2009 Is there a way to do this through Notepad? Send($text) is way to slow and not everyone has MS Word. CODE#include <Word.au3> $oWordApp = _WordCreate("",0,0);<--Not Visible $oDoc = _WordDocGetCollection ($oWordApp, 0) $oDoc.Range.Text = "This is some text to insert." _WordDocSaveAs ($oDoc, @ScriptDir & "\Test.doc") _WordQuit ($oWordApp) [topic="21048"]New to AutoIt? Check out AutoIt 1-2-3![/topic] Need to make a GUI? You NEED KODA FormDesigner! Link to comment Share on other sites More sharing options...
muncherw Posted May 14, 2009 Share Posted May 14, 2009 $NewFile = FileOpen(@DesktopDir & "\KenNichols.txt", 9) FileWriteLine($NewFile, "AutoIT is chock full of vitamin C!") FileClose($NewFile) Other People's Stuff:Andy Flesner's AutoIt v3: Your Quick Guide[topic="34302"]Locodarwin's ExcelCom_UDF[/topic][topic="61090"]MrCreatorR's Opera Library[/topic] Link to comment Share on other sites More sharing options...
Skruge Posted May 14, 2009 Share Posted May 14, 2009 FileWrite(@ScriptDir & "\Test.txt", "This is some text to insert.") [font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font] Link to comment Share on other sites More sharing options...
KenNichols Posted May 14, 2009 Author Share Posted May 14, 2009 Thanks! [topic="21048"]New to AutoIt? Check out AutoIt 1-2-3![/topic] Need to make a GUI? You NEED KODA FormDesigner! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now