Creative Developer Tools (CRDT) ScriptUI helpers for ExtendScript.
This module provides ScriptUI utilities that are not specific to one Adobe app.
This module provides ScriptUI utilities that are not specific to one Adobe app.
- Source:
Methods
(static) progressClose(progressState)
Close and dispose progress palette.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
progressState |
object
|
object returned by progressCreate
|
(static) progressCreate(defaultsopt) → {object|undefined}
Create a ScriptUI progress palette.
- Source:
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
defaults |
object
|
<optional> |
optional defaults:{ title: "...", bounds: [left, top, right, bottom], progressBarBounds: [left, top, right, bottom], updateIntervalMilliseconds: number, minValue: number, maxValue: number, hidden: true/false }
|
Returns:
- Type:
-
object|undefined
progress state object used by other progress helpers
(static) progressHide(progressState)
Hide progress palette.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
progressState |
object
|
object returned by progressCreate
|
(static) progressSetTitle(progressState, title)
Set progress title and update UI.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
progressState |
object
|
object returned by progressCreate
|
title |
string
|
palette title |
(static) progressSetValue(progressState, valuePercent)
Set progress value percent in [0,100] and update UI.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
progressState |
object
|
object returned by progressCreate
|
valuePercent |
number
|
progress value 0..100 |
(static) progressShow(progressState)
Show progress palette.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
progressState |
object
|
object returned by progressCreate
|
(static) progressUpdate(progressState)
Update progress palette from state.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
progressState |
object
|
object returned by progressCreate
|