Reply to: MoveToElement() HelpDecember 2, 2014 at 7:13 pm
I don't see any issues with the API, so I guess there's probably an issue with your logic.
Here's a simplified script you can test with that uses the API in a similar way to return all the element names by moving a Range:
[code]//XMetaL Script Language JScript:
var rng = ActiveDocument.Range;