Adobe 65009963 Scripting Guide - Page 20

Application activate() method

Page 20 highlights

JavaScript Reference Application object 20 Methods Method Reference Description newProject() "Application newProject() method" on page 25 Creates a new project in After Effects. open() "Application open() method" on page 26 Opens a project or an Open Project dialog box. quit() "Application quit() method" on page 28 Quits the application. watchFolder() "Application watchFolder() method" on page 30 Starts Watch Folder mode; does not return until Watch Folder mode is turned off. pauseWatchFolder() "Application pauseWatchFolder() method" Pauses a current watch-folder process. on page 27 endWatchFolder() "Application endWatchFolder() method" on Ends a current watch-folder process. page 23 purge() "Application purge() method" on page 28 Purges a targeted type of cached information (replicates Purge options in the Edit menu). beginUndoGroup() "Application beginUndoGroup() method" Groups the actions that follow it into a single on page 21 undoable step. endUndoGroup() "Application endUndoGroup() method" on Ends an undo group; needed only when a page 22 script contains more than one undo group. beginSuppressDialogs() "Application beginSuppressDialogs() method" on page 21 Begins suppression of dialogs in the user interface. endSuppressDialogs() "Application endSuppressDialogs() method" on page 22 Ends suppression of dialogs in the user interface. setMemoryUsageLimits() "Application setMemoryUsageLimits() method" on page 29 Sets memory usage limits as in the Memory & Cache preferences area. s e t Sa v e P r e f e r e n c e s O n Q u i t ( ) "Application setSavePreferencesOnQuit() Sets whether preferences are saved when the method" on page 29 application is quit. activate() "Application activate() method" on page 20 Brings the After Effects main window to the front of the screen. scheduleTask() "Application scheduleTask() method" on page 29 Schedules a JavaScript script for delayed execution. cancelTask() "Application cancelTask() method" on page 22 Cancels a scheduled task. parseSwatchFile() "Application parseSwatchFile() method" on Loads a color swatch from an Adobe Swatch page 27 Exchange (ASE) file. Application activate() method app.activate() Description Opens the application main window if it is minimized or iconified, and brings it to the front of the desktop. Parameters None. 20

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193

20
JavaScript Reference
Application object
20
Methods
Application activate() method
app.activate()
Description
Opens the application main window if it is minimized or iconified, and brings it to the front of the desktop.
Parameters
None.
Method
Reference
Description
newProject()
“Application newProject() method” on
page 25
Creates a new project in After Effects.
open()
“Application open() method” on page 26
Opens a project or an Open Project dialog box.
quit()
“Application quit() method” on page 28
Quits the application.
watchFolder()
“Application watchFolder() method” on
page 30
Starts Watch Folder mode; does not return
until Watch Folder mode is turned off.
pauseWatchFolder()
“Application pauseWatchFolder() method”
on page 27
Pauses a current watch-folder process.
endWatchFolder()
“Application endWatchFolder() method” on
page 23
Ends a current watch-folder process.
purge()
“Application purge() method” on page 28
Purges a targeted type of cached information
(replicates Purge options in the Edit menu).
beginUndoGroup()
“Application beginUndoGroup() method”
on page 21
Groups the actions that follow it into a single
undoable step.
endUndoGroup()
“Application endUndoGroup() method” on
page 22
Ends an undo group; needed only when a
script contains more than one undo group.
beginSuppressDialogs()
“Application beginSuppressDialogs()
method” on page 21
Begins suppression of dialogs in the user inter-
face.
endSuppressDialogs()
“Application endSuppressDialogs()
method” on page 22
Ends suppression of dialogs in the user inter-
face.
setMemoryUsageLimits()
“Application setMemoryUsageLimits()
method” on page 29
Sets memory usage limits as in the Memory &
Cache preferences area.
setSavePreferencesOnQuit()
“Application setSavePreferencesOnQuit()
method” on page 29
Sets whether preferences are saved when the
application is quit.
activate()
“Application activate() method” on page 20
Brings the After Effects main window to the
front of the screen.
scheduleTask()
“Application scheduleTask() method” on
page 29
Schedules a JavaScript script for delayed exe-
cution.
cancelTask()
“Application cancelTask() method” on
page 22
Cancels a scheduled task.
parseSwatchFile()
“Application parseSwatchFile() method” on
page 27
Loads a color swatch from an Adobe Swatch
Exchange (ASE) file.