Page 1 of 1

WebGadget search

Posted: Sun May 15, 2011 2:39 pm
by gedumer
Is there any way to search for text within the webgadget? I realize you can load the entire html file into a string variable using GetGadgetItemText(#WebGadget, #PB_Web_HtmlCode) and then search that string for example, but that's not practical. There's no way to know how large the file might be, plus you'd have to reformat the code to communicate the search results to the webgadget user. Typical web browsers highlight each instance of the found search word and move the browser text to the first find. You couldn't do that with this technique.