Created
May 4, 2018 19:01
-
-
Save ericlaw1979/3a4cbf0238f1c8e7c3a3671d6cc76380 to your computer and use it in GitHub Desktop.
Many components in Fiddler's UI are not "public", but because of how WinForms works, you can crawl around the window until you find them. This C# FiddlerScript makes the box at the bottom of the AutoResponder tab taller.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ToolsAction("FixPanelHeight")] | |
public static void DoFix() | |
{ | |
foreach (Control c in FiddlerApplication.UI.tabsViews.Controls) { | |
if (c.Name == "pageResponder") foreach (Control d in (c.Controls[0] as UserControl).Controls) | |
if (d.Name == "pnlAutoResponders") foreach (Control e in (d as Panel).Controls) { | |
// FiddlerApplication.Log.LogString(e.Name); | |
if (e.Name == "gbResponderEditor") { | |
e.Height=e.Height+120; | |
e.Top=e.Top-120; | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment