Adobe Illustrator CS6 Type Library JS: Events (SUI)
From Illustrator CS6
Class
Events (SUI)
Provides access to objects used in the ScriptUI event system.
Access through the ScriptUI.events property.
QuickLinks
createEventMethods
Instances
Event createEvent (eventType:
String)
Creates an instance of the specified Event subclass.
The Event returned is a UIEvent,
KeyboardEvent or MouseEvent object,
depending on the requested type. This object can be passed as a parameter to an element's dispatchEvent
function in order to simulate a user-interaction event.
| Parameter | Type | Description |
|---|---|---|
| eventType | String | The name of an event type: one of "UIEvent", "KeyboardEvent", or "MouseEvent". |
| Jongware, 25-Nov-2012 v3.0.3i | Contents :: Index |