Categories > Coding > C# >

I need Help with parex webviewapi

New Reply

Posts: 22

Threads: 8

Joined: Feb, 2023

Reputation: 0

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

  • 0

  • Comment

Exploits I own: Synapse, Comet, Surefire I made Surefire

Exploits I want: Scriptware, sentinel

Surefires discord: discord.gg/kyH7vEE8

z_Kenneth

roachcock#3492

patron

Posts: 135

Threads: 14

Joined: Oct, 2021

Reputation: 12

Replied

im pretty sure the api has GetText() so u grab ur current webview and api.execute(currentwebview.gettext()); simple

  • 0

  • Comment

marcus__

S.K.I.D

vip

Posts: 469

Threads: 23

Joined: Nov, 2022

Reputation: 28

Replied

im pretty sure the monaco has .gettext()

so use selectedtab.content as monaco_api

and then use webView.gettext()

  • 0

  • Comment

!!!!!marcus__!!!!!#8611

https://cdn.discordapp.com/attachments/1066053366758780978/1078052772567597127/image.png

Posts: 524

Threads: 19

Joined: Nov, 2022

Reputation: 60

Replied

public WebViewAPI GetViewAPI() => (WebViewAPI)EditorTabs.SelectedContent;
  • 0

  • Comment

Posts: 22

Threads: 8

Joined: Feb, 2023

Reputation: 0

Replied

@tempegoreng, well send me something that would execute the tab

 

  • 0

  • Comment

Exploits I own: Synapse, Comet, Surefire I made Surefire

Exploits I want: Scriptware, sentinel

Surefires discord: discord.gg/kyH7vEE8

B00M

Zayn#4479

Posts: 149

Threads: 9

Joined: Jul, 2022

Reputation: 8

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

  • 0

  • Comment

#Road to 10 Rep

https://media.discordapp.net/attachments/1081737726048608379/1088936664941989979/WRDBanner3.png

PC Specs: RTX 3060 OC (12GB), 32 GB 3200MHz, i7-11700k

Posts: 22

Threads: 8

Joined: Feb, 2023

Reputation: 0

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

  • 0

  • Comment

Exploits I own: Synapse, Comet, Surefire I made Surefire

Exploits I want: Scriptware, sentinel

Surefires discord: discord.gg/kyH7vEE8

Posts: 1406

Threads: 90

Joined: Oct, 2019

Reputation: 104

Replied

@B00M Your Tabs Look Like You Ripped From Sentinel Lmao

  • 0

  • Comment

B00M

Zayn#4479

Posts: 149

Threads: 9

Joined: Jul, 2022

Reputation: 8

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. 

😂

  • 0

  • Comment

#Road to 10 Rep

https://media.discordapp.net/attachments/1081737726048608379/1088936664941989979/WRDBanner3.png

PC Specs: RTX 3060 OC (12GB), 32 GB 3200MHz, i7-11700k

Posts: 1406

Threads: 90

Joined: Oct, 2019

Reputation: 104

Replied

@B00M I'm Talking About The Ones You Said To Possibly Open-Source, Those Are The Ones I'm Referring To.

  • 0

  • Comment

B00M

Zayn#4479

Posts: 149

Threads: 9

Joined: Jul, 2022

Reputation: 8

Replied

@ImmuneLion318, how are those ripped off? they arent even styled, I wrote the code myself.

  • 0

  • Comment

#Road to 10 Rep

https://media.discordapp.net/attachments/1081737726048608379/1088936664941989979/WRDBanner3.png

PC Specs: RTX 3060 OC (12GB), 32 GB 3200MHz, i7-11700k

Posts: 1406

Threads: 90

Joined: Oct, 2019

Reputation: 104

Replied

@B00M They Just Look Ripped Off.

  • 0

  • Comment

B00M

Zayn#4479

Posts: 149

Threads: 9

Joined: Jul, 2022

Reputation: 8

Replied

@ImmuneLion318, alr. I just got an default tabs with a default button that says x in it.

  • 0

  • Comment

#Road to 10 Rep

https://media.discordapp.net/attachments/1081737726048608379/1088936664941989979/WRDBanner3.png

PC Specs: RTX 3060 OC (12GB), 32 GB 3200MHz, i7-11700k

Login to unlock the reply editor

Add your reply

Users viewing this thread:

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