Posted
So I added Monaco to webview2 today. But I can't figure out how to make the execute, clear, save file, open file buttons. Any help is appreciated. Thanks! (for winforms!)
Replied
https://www.youtube.com/watch?v=2foHIdCKBec&t=439s&ab_channel=mooexploits
Cancel
Post
Replied
you can find how to do get text,set text, etc off lxnnys tabs system but im not gonna spoonfeed you the EXACT code.
Cancel
Post
Replied
so this goes to Public Partial Class:
private WebViewA Editor; (if ur Editor is from WebView Class))
and this Execute Method:
``` if TabControl Handler
ExecuteScript(await ((WebViewA)((TabControl)this.TabControlName).SelectedContent).GetText());
``` if Standard Text Editor
ExecuteScript(await ((WebViewA)(this.EditorSource)).GetText());
```
Cancel
Post
Replied
Thanks for the help guys! Appreciate it!
Cancel
Post
Replied
Well I think he used dnSpy to get it I also got Nihon's source (there's a decompiler in dnSpy now and ur obfuscation was badaf) and im skidding it..
Cancel
Post
Added
Sorry Im just bad at coding and I like nihon's ui..
Cancel
Post
Replied
@ImmuneLion318
This is the WebViewAPI, parex have the same API code. This one just have WebViewA instead of WebViewAPI as a name (i don't remember where i get it but i think it possibly from Celery becuase he used same monaco a long time ago
Cancel
Post
Added
@87922
Bro, i using this methods in my projects and working as they should
Cancel
Post
Replied
@Nocist its a joke loll
Cancel
Post
Replied
@87922 jokes don't come through as easily through text as they do through a normal person to person conversation (has to do with voice tone and stuff) that's why I like to use /j even though other tone tags seem to be a bit weird
Cancel
Post
Users viewing this thread:
( Members: 0, Guests: 0, Total: 0 )
Cancel
Post