Edit in GitHubLog an issue

ExecutionContext

这个对象被传递给 core.executeAsModal 为模式相关的API。

Properties

hostControl

hostControl: object

使用这里的方法来控制Photoshop的状态。

类型声明

名称类型描述
resumeHistory(suspensionID: number) => void调用恢复目标文件的历史记录。
suspendHistory(info: { historyStateInfo: HistoryStateInfo }) => Promise<number>调用目标文件暂停历史,返回暂停ID,可用于恢复历史。

isCancelled

isCancelled: boolean

如果用户取消了模态交互,则为真。

用户可以通过点击Escape (esc) 键,或者按进度条上的 "取消 " 按钮来取消。


onCancel

onCancel: void

如果指定一个方法,当用户取消模态交互时,它将被调用。


reportProgress

reportProgress: void

调用它来定制进度条。

Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.