ScriptUIExtendScript only
Object

ScriptUI

A global class containing central information about ScriptUI. Not instantiable.

Properties

NameType AccessDescription
static String readonly Collects the enumerated values that can be used in the alignment and alignChildren properties of controls and containers.
static Object readonly Collects the enumerated values that can be used as the style argument to the ScriptUI.newFont() method.
static Object readonly The font constants defined by the host application.
static Object readonly An object whose properties are the names of compatability modes supported by the host application.
static String readonly A string containing the internal version number of the ScriptUI module.
static Environment readonly An object whose properties define attributes of the environment in which ScriptUI operates.
static Events readonly An object whose properties and methods provide access to objects used in the ScriptUI event system.
static String readonly A string containing the name of the UI component framework with which this version of ScriptUI is compatible.
static Varies readonly A string containing the version number of the ScriptUI component framework

Methods

String

Finds and returns the resource for a given text string from the host application's resource data.

text String The text to match.
ScriptUIFont

Creates a new font object for use in text controls and titles.

name String The font name, or the font family name.
style String | Number The font style; can be string, or one of the values of ScriptUI.FontStyle.
size Number The font size in points.
ScriptUIImage

Loads a new image from resources or disk files into an image object.

normal String The resource name or the disk file path to the image used for the normal state.
disabled? String The resource name, or the disk file path to the image used for the disabled state.
pressed? String The resource name, or the file-system path to the image used for the pressed state.
rollover? String The resource name, or the file-system path to the image used for the rollover state.