使用脚本打开Indesign文件并从文件夹中的Excel文档中更新表数据
我的公司制作的数据报告经常被复制几百次。我创建了一个文档,其中包含附加到Excel文件的表数据,并且可以通过链接面板进行更新。我的问题是,是否有一种方法可以通过运行脚本来更新表中的数据,指向同一文件夹中的Excel文件?
文件中需要完成更复杂的操作,但这将是一个很好的起点!
先感谢您!
My company makes data reports that are often replicated a couple hundred times. I've created a document that has table data attached to an excel file and can be updated through the links panel. My question is, is there a way to update the data in the tables just by running a script, pointing to the excel file within the same folder?
There are more complicated actions that need to be completed in the file, but this would be a great starting point!
Thank you in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这是从剪贴板中获取INDD文件列表(完整路径!)的脚本,打开它们,更新链接,保存PDF(在具有与打开的文档相同名称的同一文件夹中),保存并关闭Indd文件:
您可以复制在Excel中,INDD文件的路径列表运行脚本并获取PDF文件和更新的INDD文件。
Here is the script that takes list of INDD files (full paths!) from the clipboard opens them, updates links, saves PDFs (in the same folders with the same names as opened documents), saves and closes the INDD files:
You can copy in Excel the list of paths to the INDD files run the script and get the PDF files and updated INDD files.
基本上可以是这样的:
输入(Excel中的源表和Indesign中的目标表):
output(Indesign中的表):
Basically it can be something like this:
Input (the source table in Excel, and the destination table in InDesign):
Output (the table in InDesign):