Skip to content

Instantly share code, notes, and snippets.

@DinisCruz
Created November 5, 2012 03:49
Show Gist options
  • Select an option

  • Save DinisCruz/4015218 to your computer and use it in GitHub Desktop.

Select an option

Save DinisCruz/4015218 to your computer and use it in GitHub Desktop.
O2 Script - Using HawkEye to find control to Script
//var topPanel = panel.add_Panel(true);
var topPanel = O2Gui.open<Panel>("Util - Findings Viewer with REPL",400,400);
topPanel.add_FindingsViewer();
topPanel.mainMenu().clear().add_Menu("REPL")
.add_MenuItem("Find control to REPL", ()=> new API_HawkEye().openControlFinder());
return topPanel;
//using O2.XRules.Database.Findings
//O2File:Findings_ExtensionMethods.cs
//O2File:API_HawkEye.cs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment