我有 adobe illustrator 工具,我需要将大量 .ai 文件转换为 svg 文件,而无需在 adobe illustrator 中打开它。只需通过批量转换或命令行 (CLI) 执行即可。
我有 inkscape 工具,它实际上也有一个命令行
转换 test.ai test.svg 但 inkscape 没有给出预期的输出格式
对于插画家,我尝试过以下命令
“C:\Program Files\Adobe\Adobe Illustrator CS6(64 位)\Support Files\Contents\Windows\Illustrator.exe” “C:\Program Files\Adobe\Adobe Illustrator CC 2018\Presets\en_GB\Scripts\SaveDocsAsSVG。 jsx"
它说没有打开的文档!警报
这是我一直在使用的脚本
// 主要代码 [脚本执行从这里开始]
try {
if (app.documents.length > 0 ) {
// Get the folder to save the files into
var destFolder = null;
destFolder = Folder.selectDialog( 'Select folder for SVG files.', '~' );
if (destFolder != null) {
var options, …Run Code Online (Sandbox Code Playgroud) adobe command adobe-illustrator command-line-interface batch-processing