Show pageOld revisionsBacklinksAdd to bookBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== IWshTextStream ====== Scriptable object ===== Description ===== WScript ITextStream Emulation object ===== Properties ===== ^Property^ Description^ |[[scripting:api:wsh-text-stream:at-end-of-line|AtEndOfLine]]| Returns true if the file pointer is positioned immediately before the end-of-line marker in a TextStream file; false if it is not. Read-only| |[[scripting:api:wsh-text-stream:at-end-of-stream|AtEndOfStream]]| Returns true if the file pointer is at the end of a TextStream file; false if it is not. Read-only| |[[scripting:api:wsh-text-stream:column|Column]]| Read-only property that returns the column number of the current character position in a TextStream file| |[[scripting:api:wsh-text-stream:line|Line]]| Read-only property that returns the current line number in a TextStream file| ===== Methods ===== ^Method^ Description^ |[[scripting:api:wsh-text-stream:close|Close]]| Closes an open TextStream file| |[[scripting:api:wsh-text-stream:read|read]]| Reads a specified number of characters from a TextStream file and returns the resulting string| |[[scripting:api:wsh-text-stream:read-all|ReadAll]]| Reads an entire TextStream file and returns the resulting string| |[[scripting:api:wsh-text-stream:read-line|ReadLine]]| Reads an entire line (up to, but not including, the newline character) from a TextStream file and returns the resulting string| |[[scripting:api:wsh-text-stream:skip|Skip]]| Skips a specified number of characters when reading a TextStream file| |[[scripting:api:wsh-text-stream:skip-line|SkipLine]]| Skips a complete line when reading a TextStream file| |[[scripting:api:wsh-text-stream:write|write]]| Writes a specified string to a TextStream file| |[[scripting:api:wsh-text-stream:write-blank-lines|WriteBlankLines]]| Writes a specified number of newline characters to a TextStream file| |[[scripting:api:wsh-text-stream:write-line|WriteLine]]| Writes a specified string and newline character to a TextStream file| ===== See Also ===== [[:scripting:api:wscript:std-err|IWScript::StdErr]], [[:scripting:api:wscript:std-in|IWScript::StdIn]], [[:scripting:api:wscript:std-out|IWScript::StdOut]] #API ~~NOTOC~~