Forum > Coding >

WebView Monaco

Posts: 15

Threads: 3

Joined: Dec, 2022

Reputation: 2

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!)

  • 0

dsc.gg/noob

Posts: 1

Threads: 0

Joined: Nov, 2022

Reputation: 0

Replied

https://www.youtube.com/watch?v=2foHIdCKBec&t=439s&ab_channel=mooexploits

  • 0

aeon

Owner of Voyager

vip

Posts: 262

Threads: 25

Joined: Sep, 2022

Reputation: 12

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.

  • 0

DareQPlaysRBX

Polish Content Creator

vip

Posts: 201

Threads: 32

Joined: Apr, 2020

Reputation: 13

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());
```


  • 0

Posts: 15

Threads: 3

Joined: Dec, 2022

Reputation: 2

Replied

Thanks for the help guys! Appreciate it!

  • 0

dsc.gg/noob

Posts: 1167

Threads: 72

Joined: Oct, 2019

Reputation: 89

Replied

@DareQPlaysRBX Where Do You Get WebViewA That Was Nihon's Original Class???

  • 0

Posts: 15

Threads: 3

Joined: Dec, 2022

Reputation: 2

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..

  • 0

Added

Sorry Im just bad at coding and I like nihon's ui..

  • 0

dsc.gg/noob

DareQPlaysRBX

Polish Content Creator

vip

Posts: 201

Threads: 32

Joined: Apr, 2020

Reputation: 13

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

  • 0

Added

@87922

Bro, i using this methods in my projects and working as they should 

  • 0

Posts: 15

Threads: 3

Joined: Dec, 2022

Reputation: 2

Replied

@Nocist its a joke loll

  • 0

dsc.gg/noob

Posts: 0

Threads: 0

Joined: ?

Reputation:

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

  • 0

Users viewing this thread:

( Members: 0, Guests: 0, Total: 0 )