【问题标题】:VSCode only targets old verson of Illustrator (CS6)VSCode 仅针对旧版本的 Illustrator (CS6)
【发布时间】:2021-02-18 10:48:42
【问题描述】:

我最近搬到了一个新的工作站,并且无法使用 VSCode 和 Extendscript 调试器来定位 Adob​​e 应用程序。工作站之前安装了 CS 6,但现在我们使用 CC。我正在使用 Ilustrator 2019。

我可以定位 Illustrator:
Target Menu Works

Illustrator 2019 显示在底部的栏中:
AI 2019 looks like it is the target

但是,当我运行调试器时,它说 CS 6 没有运行并且我无法运行 CC2019?
Asked to target CS6?

使用 MacOS 10.12.6 VSCode 1.50.1 扩展脚本调试器 1.1.2

【问题讨论】:

    标签: visual-studio-code adobe-illustrator extendscript


    【解决方案1】:

    我认为您需要检查launch.json 文件来设置targetSpecifier 版本号。

    例如,对于 After Effects 2020,我使用此配置进行调试。该对象位于launch.json 文件的configruations 数组中:

    {
                "type": "extendscript-debug",
                "request": "launch",
                "name": "My app debug",
                "program": "${workspaceFolder}/Scripts/source.jsx",
                "trace" : true,
                "targetSpecifier": "aftereffects-17.0",
                "engineName": "main",
                "preLaunchTask": "debug-my-app",
                "dontBreakOnErrors" : true
    }
    

    因此,您可能需要找出您希望调试器针对的 Illustrator 版本的 targetSpecifier 的值。

    【讨论】:

    • 我确实设置了 tagetSpedifier:“illustrator-23.064”,但每次我运行脚本时,它都会显示“CS6 没有运行”——CS6 甚至没有安装在我的计算机上。(它曾经是)由于某种原因它仍然显示为已安装?
    • 我的建议是从 VSCode 中卸载 ExtendScript Debugger 插件,然后重新安装。不要只是“禁用”它,实际卸载它并重试。我认为 ExtendScript 调试器需要重置一些文件,因为您曾经安装了 CS6,但现在没有。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-07-26
    • 1970-01-01
    • 2015-06-23
    • 1970-01-01
    • 2021-07-09
    相关资源
    最近更新 更多