Forum > Suggestions >
C# How To Use Monaco As String!
Posted
Ex:
String AWRANrwan2 = WebBrowser.Document.InvokeScript("SetText", new Object[]
{
});
Why I Can't Use It As String :C
And How To Know If Monaco Text Has The Contain Text
Ex:
webbrowser.documenttext.contains("rnarawrnaw");
Doesn't Work :C
Replied
To get the text from Monaco use the following code:
WebBrowser.document.InvokeScript("GetText").ToString(); // Not Sure
If you want to set text just replace get with set, like this:
WebBrowser.document.InvokeScript("SetText", new String()["TEXT"]) // Not Sure
Cancel
Post
Proud creator of: WRD+
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post