PDA

View Full Version : get the text source


jackdaniels
03-23-2008, 09:52 AM
am i doing it wrong to get the text source and run notepad to view it ?

WebBrowserExtension.Initialize(Web.GetProperties("Web1").WindowHandle);
textSource = WebBrowserExtension.GetTextSource();
TextFile.WriteFromTable("C:\\MyFile.txt", textSource, false);
File.Run("C:\\MyFile.txt", "", "", SW_SHOWNORMAL, false);
WebBrowserExtension.UnInitialize();

ShadowUK
03-23-2008, 10:17 AM
I don't remember GetTextSource returning a table?

RizlaUK
03-23-2008, 02:23 PM
looking at the example, get links and get images return a table, get text returns a string