Home Forums General XMetaL Discussion Count Macro Reply To: Count Macro

mag3737

Reply to: Count Macro

[code]
//XMetaL Script Language JScript:
Selection.MoveToElement(“coc”);
[/code]

or if you want to go backwards:

[code]
//XMetaL Script Language JScript:
Selection.MoveToElement(“coc”, false);
[/code]

or if you want the entire contents of the to be automatically selected when you get there:

[code]
//XMetaL Script Language JScript:
Selection.MoveToElement(“coc”);
Selection.SelectContainerContents();
[/code]

Reply

Products
Downloads
Support