I'm making a script for automation data merge.
I'm using the code like this - myDoc.dataMergeProperties.selectDataSource(myDataSource) - and it works good.
But I need to set Data Source Import Options (see screenshot of a dialog window) programmatically, with Script.
Is it possible to do this and how?
Copy link to clipboard
Moved to InDesign Scripting....
I would like to know the answer to this question. What page did you move to?
I was mistaken. It was a tag change, not a page move.
Either way I want this resolved. When I load a particular CSV file, it reads in ASCII encoding when it is actually Shift-JIS.
Thanks a lot!! But, It seems not to be worked.
(textImportPreferences and DataMerge seem to be different functions..)
Since there is no critical impact, I will give this up and try to load the CSV manually.
The system for CSV is old and I will update the system in the future to export CSV in Unicode. Then the problem seems unlikely to occur.