Finding the ID of the previous or next note

Is there an easy way to find or derive the $ID for the previous or next note in the outline order? previousSibiling and nexSibling only works in a container. Once you get to the end of the container, I can figure out how to navigate to the next ote in the outline order.

$ID(next) and $ID(previous) are the designators you’re looking for.

1 Like

and to flesh this out a bit more for other later readers…

if working in an agent, you might want $ID(next(original)) and $ID(previous(original)) as aliases have their own $ID, $ID being intrinsic. A full listing of single-scoped, group-scoped and other forms of designators can be found here.