Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Scripting
Viewing all articles
Browse latest Browse all 15932

See a bookmark with a script

$
0
0

I have a script that adds XML tags and I want to be able to know whether the paragraph has a bookmark at the start of it.

 

I'm working in Windows with VBA and if I get the AscW (the Unicode character code) of the first character in the paragraph it returns -257 for a bookmark. The trouble is it also returns that for the start or end of an XML tag.

 

I've checked the idSpecialCharacters enumeration but I don't see anything there. I also tried searching for a bookmark but I don't see anyway to do that even manually.

 

Is there a way to determine what the special thing is in a script?

 

Thanks,

Ken


Viewing all articles
Browse latest Browse all 15932

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>