Reply to: ToggleInlineJuly 2, 2010 at 6:58 pm
Unfortunately, it looks like this is a known issue that has yet to be addressed, or at least there is another issue that looks like this one. I'm not sure exactly what the exact issue is here because other Schemas and instances I have tried are OK. Development will be looking into it though.
In my testing the following are working:
So, all is not lost. I believe adding a little bit of logic together with those APIs makes it possible to obtain the same results. Something like this:
'XMetaL Script Language VBScript:
SET rng = ActiveDocument.Range
if (rng.ContainerName = "B") then
(written in VBScript as it looks like you are either working with VB or VBScript, just a guess)