NotebookLocate
NotebookLocate["tag"]
locates all cells with the specified tag in your current input notebook, selecting the cells and scrolling to the position of the first one.
NotebookLocate[{"file","tag"}]
if necessary opens the notebook stored in file, then locates cells with the specified tag.
NotebookLocate[{"file.wl",line}]
if necessary opens the package file "file.wl", then navigates to the line number line.
Details
- NotebookLocate[{File["file"],"tag"}] is also supported.
- NotebookLocate sets the current selection to contain all cells with the specified tag.
- If the cells are in closed groups, NotebookLocate will open all these groups.
- NotebookLocate is used for following hyperlinks within one notebook or between notebooks.
- NotebookLocate searches for tags in the list given as the setting for the CellTags option of each cell.
- "tag" may be a string in the form of a UUID, in which case NotebookLocate will find the cell with the matching ExpressionUUID.
Examples
open allclose allScope (1)
Applications (1)
Text
Wolfram Research (1996), NotebookLocate, Wolfram Language function, https://reference.wolfram.com/language/ref/NotebookLocate.html (updated 2023).
CMS
Wolfram Language. 1996. "NotebookLocate." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2023. https://reference.wolfram.com/language/ref/NotebookLocate.html.
APA
Wolfram Language. (1996). NotebookLocate. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/NotebookLocate.html