【发布时间】:2021-07-26 15:55:33
【问题描述】:
在扩展脚本中,运行调色板类型窗口时
ie - new Window("palette", this.name, undefined)
我希望能够将焦点设置到主应用程序,即散焦调色板窗口。 这是可行的吗? 怎么样?
【问题讨论】:
标签: javascript adobe adobe-illustrator extendscript
在扩展脚本中,运行调色板类型窗口时
ie - new Window("palette", this.name, undefined)
我希望能够将焦点设置到主应用程序,即散焦调色板窗口。 这是可行的吗? 怎么样?
【问题讨论】:
标签: javascript adobe adobe-illustrator extendscript
在应用对象中使用可见属性退出,如下所示
app.visible = true;
您可以从以下链接了解更多信息 https://ai-scripting.docsforadobe.dev/jsobjref/Application/?highlight=app.visible#application-visible
【讨论】:
我不确定它是否适用于您的情况。只是猜测:
var doc = app.activeDocument;
// here your palette is activated
// here you activate your doc
doc.activate();
【讨论】: