This content has been marked as final. Show 5 replies
This and many other things are described in some of Adobe's documentation at http://www.adobe.com/products/indesign/scripting/index.html
Thanks for the info...
In the syntax reference I found the missing property ... reading the reference I realized that maybee I'm using the wrong object or methode... But I've searched almost an hour for the correct object and methode and I didn't find anyone that can be used to load the Tags To Styles mapping from an other indesign file...
Do you have an idea ?
I'm not particularly good at this sort of thing, but the reference says that xmlImportMaps.add() takes two parameters, a markup tag and the mapped style. Take a look at p. 114 of this document:
which is for CS3, but what you want to do has not changed much I don't think.
The incopy scripting guide pdf doesn't seem to be downloading.
Does anyone have a copy they could post elsewhere?
I just checked the link, and it's working fine. Try again?
Also, I'd missed this thread earlier--what Tim is asking about (loading a tag to style mapping from a file) can't be done directly in the user interface (as far as I can tell), so it can't be done directly from scripting. Instead, you'd have to open the file containing the tag to style mapping, then transfer the mapping one import/export map at a time to the target file.