Categories > Coding > C# >
I need Help with parex webviewapi
Posted
i need help making an execute button for parex webviewapi for Monaco WPF for tabs bit i do not understand please help me
private void Execute_Click(object sender, RoutedEventArgs e)
{
TabItem selectedTab = tabcontrol.SelectedItem as TabItem;
WebView2 webView = selectedTab.Content as WebView2;
//sendtext function here
}
then my code to setup the texteditor for the tabs
public WebViewAPI GetViewAPI()
{
return tabcontrol.SelectedContent as WebViewAPI;
}
I just want to sendtext from the selected tab
Exploits I own: Synapse, Comet, Surefire I made Surefire
Exploits I want: Scriptware, sentinel
Surefires discord: discord.gg/kyH7vEE8
Replied
im pretty sure the api has GetText() so u grab ur current webview and api.execute(currentwebview.gettext()); simple
Cancel
Post
Replied
im pretty sure the monaco has .gettext()
so use selectedtab.content as monaco_api
and then use webView.gettext()
Cancel
Post
!!!!!marcus__!!!!!#8611
https://cdn.discordapp.com/attachments/1066053366758780978/1078052772567597127/image.png
Replied
public WebViewAPI GetViewAPI() => (WebViewAPI)EditorTabs.SelectedContent;
Cancel
Post
Exploits I own: Synapse, Comet, Surefire I made Surefire
Exploits I want: Scriptware, sentinel
Surefires discord: discord.gg/kyH7vEE8
Replied
@tempegoreng, I agree, they were begging for my tab system earlier on my thread where i was asking if i should release it as Open Source, I dislike when people like this refuse to learn and just want to get spoon fed by people. You really should learn C#, not expect people to always help you and supply with answer, you are lucky people are responding
Cancel
Post
#Road to 10 Rep
https://media.discordapp.net/attachments/1081737726048608379/1088936664941989979/WRDBanner3.png
PC Specs: RTX 3060 OC (12GB), 32 GB 3200MHz, i7-11700k
Replied
@B00M, What when was u begging i have my own tabs I said paste a download so people can use it i was not talking about me
Cancel
Post
Exploits I own: Synapse, Comet, Surefire I made Surefire
Exploits I want: Scriptware, sentinel
Surefires discord: discord.gg/kyH7vEE8
Replied
@ImmuneLion318, what tabs, are you refering to my old release? I don't talk abt that anymore I was terrible at this stuff, the tabs im talking abt is this system I made that I was asking if I should make open-source: https://forum.wearedevs.net/t/31953
Plus, I think I got those tabs when I was a begginer from a Parex Video or something he was coping and pasting those onto it and had them in comments but he deleted those videos.
Don't Judge me.
😂
Cancel
Post
#Road to 10 Rep
https://media.discordapp.net/attachments/1081737726048608379/1088936664941989979/WRDBanner3.png
PC Specs: RTX 3060 OC (12GB), 32 GB 3200MHz, i7-11700k
Replied
@B00M I'm Talking About The Ones You Said To Possibly Open-Source, Those Are The Ones I'm Referring To.
Cancel
Post
Replied
@ImmuneLion318, how are those ripped off? they arent even styled, I wrote the code myself.
Cancel
Post
#Road to 10 Rep
https://media.discordapp.net/attachments/1081737726048608379/1088936664941989979/WRDBanner3.png
PC Specs: RTX 3060 OC (12GB), 32 GB 3200MHz, i7-11700k
Replied
@ImmuneLion318, alr. I just got an default tabs with a default button that says x in it.
Cancel
Post
#Road to 10 Rep
https://media.discordapp.net/attachments/1081737726048608379/1088936664941989979/WRDBanner3.png
PC Specs: RTX 3060 OC (12GB), 32 GB 3200MHz, i7-11700k
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post