Finally an alternative to
https://vlasovstudio.com/visual-commander/professional_edition.html
which lets you record as well…
Find action constants for dte.Find listed here…
https://msdn.microsoft.com/en-us/library/aa301226(v=vs.71).aspx
e.g.
dte.ExecuteCommand("Edit.Find");
dte.Find.FindWhat = "DROP CONSTRAINT";
dte.Find.Target = 1; //vsFindTarget.vsFindTargetCurrentDocument;
dte.Find.MatchCase = false;
dte.Find.MatchWholeWord = false;
dte.Find.Backwards = false;
dte.Find.MatchInHiddenText = false;
dte.Find.PatternSyntax = 0; // vsFindPatternSyntax.vsFindPatternSyntaxLiteral;
dte.Find.Action = 1; //vsFindAction.vsFindActionFind
No comments:
Post a Comment