Locate scripts through Visual Studio search

Build 1501 on 14/Nov/2017  This topic last edited on: 10/Nov/2014, at 09:36

This topic explains how to locate scripts through a search in Visual Studio Express.

Note: See Find which GN4 script runs when you do something to learn how to get to know the right name.

Locate scripts through Visual Studio Express search

1.Launch Visual Studio Express add-ins solution.

2.Press SHIFT+CTRL+F to display Find in files dialog box, and then, in Find what, enter the name of the script you are looking for (see note).

3.In Look in list, select Entire Solution.

4.Select Include sub-folders.

5.Under Find options, clear all options.

6.In Look at these file types, enter *.* or leave it empty.

7.Click Find all to display results.

The Find Results pane will show all occurrences of found script, with the full path of the file where it was found.

Click to toggle graphic size

Results include add-ins only.

To go to the script line

1.On the Find Results pane, look for a line that contains words Sub or Function, followed by the name of the script you were looking for, e.g. Sub NewFredArticle(.

2.Double-click the line to bring the entire script in the view.

Note

To run a precise search, you may want to add an open bracket after the name of the script, e.g.

NewFredArticle(

This will exclude from search similar scripts as NewFredArticleFromTask etc.

See also

Understanding GN4 scripts

Simple scripts, Scripts that call other scripts and Scripts where the main action is executed elsewhere

Find which GN4 script runs when you do something

And also

Locate configuration items and scripts through Visual Studio Express search

Locate configuration items through Visual Studio Express search