Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 01f5761

Browse files
Merge pull request #54 from docsforadobe/colombo/update-25.4
Update scripting APIs for 25.4
2 parents 17d2f8a + aac669b commit 01f5761

File tree

6 files changed

+51
-34
lines changed

6 files changed

+51
-34
lines changed

‎docs/general/application.md‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -829,6 +829,24 @@ Nothing.
829829

830830
---
831831

832+
### app.restart()
833+
834+
`app.restart()`
835+
836+
#### Description
837+
838+
Restarts the After Effects application.
839+
840+
#### Parameters
841+
842+
None.
843+
844+
#### Returns
845+
846+
Nothing.
847+
848+
---
849+
832850
### app.scheduleTask()
833851

834852
`app.scheduleTask(stringToExecute, delay, repeat)`

‎docs/introduction/changelog.md‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,21 @@ What's new and changed for scripting?
1010

1111
## After Effects 25
1212

13-
### [After Effects 25.2 Beta build 98](https://community.adobe.com/t5/after-effects-beta-discussions/animated-environmental-lights-available-now-in-after-effects-beta/td-p/15130220) (February 2025)
13+
### [After Effects 25.4](https://helpx.adobe.com/after-effects/using/whats-new/2025-4.html) (August 2025)
14+
15+
- Scripting method added: [app.restart()](../general/application.md#apprestart)
16+
17+
### [After Effects 25.2](https://helpx.adobe.com/after-effects/using/whats-new/2025-2.html) (April 2025)
1418

1519
- Scripting methods and attributes added:
1620
- Updated: [LightLayer.lightSource](../layer/lightlayer.md#lightlayerlightsource)
1721

18-
### [After Effects 25.0 Beta build 26](https://community.adobe.com/t5/after-effects-beta-discussions/new-in-ae-25-0-build-25-scripting-hooks-for-font-fallback-management/m-p/14809794) (August 2024)
22+
### [After Effects 25.1](https://helpx.adobe.com/after-effects/using/whats-new/2025-1.html) (December 2024)
1923

2024
- Scripting methods and attributes added:
2125
- Added: [CharacterRange.pasteFrom()](../text/characterrange.md#characterrangepastefrom)
2226
- Added: [FontObject.hasGlyphsFor()](../text/fontobject.md#fontobjecthasglyphsfor)
23-
- Added: [FontObject.otherFontsWithSameDict()](../text/fontobject.md#fontobjectotherfontswithsamedict)
27+
- Added: [FontObject.otherFontsWithSameDict](../text/fontobject.md#fontobjectotherfontswithsamedict)
2428
- Added: [FontsObject.getCTScriptForString()](../text/fontsobject.md#fontsobjectgetctscriptforstring)
2529
- Added: [FontsObject.getDefaultFontForCTScript()](../text/fontsobject.md#fontsobjectgetdefaultfontforctscript)
2630
- Added: [FontsObject.setDefaultFontForCTScript()](../text/fontsobject.md#fontsobjectsetdefaultfontforctscript)
@@ -51,7 +55,7 @@ What's new and changed for scripting?
5155
- Added: [Project.replaceFont()](../general/project.md#projectreplacefont)
5256
- Added: [Project.usedFonts](../general/project.md#projectusedfonts)
5357

54-
### [After Effects 24.4 Beta build 25](https://community.adobe.com/t5/after-effects-beta-discussions/scripting-new-api-for-3d-model-layers/td-p/14580044) (March 2024)
58+
### [After Effects 24.4](https://helpx.adobe.com/after-effects/using/whats-new/2024-4.html) (May 2024)
5559

5660
- Added: [ThreeDModelLayer object](../layer/threedmodellayer.md)
5761

‎docs/layer/lightlayer.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ LightLayer defines no additional attributes, but has different AE properties tha
4343
!!! note
4444
`LightLayer.lightSource` was added in After Effects 24.3, but allowed only HDR and EXR layers as sources.
4545

46-
In After Effects (Beta) 25.2.0.098, it was updated to allow any 2D layer type as a source.
46+
In After Effects 25.2, it was updated to allow any 2D layer type as a source.
4747

4848
#### Description
4949

‎docs/text/characterrange.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ String; read/write.
217217
`CharacterRange.pasteFrom(characterRange)`
218218

219219
!!! note
220-
This functionality was added in After Effects (Beta) 25.0 and is subject to change while it remains in Beta.
220+
This functionality was added in After Effects 25.1
221221

222222
#### Description
223223

‎docs/text/fontobject.md‎

Lines changed: 20 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,25 @@ String; read-only.
230230

231231
---
232232

233+
### FontObject.otherFontsWithSameDict
234+
235+
`app.fonts.fontsWithDefaultDesignAxes[0].otherFontsWithSameDict`
236+
237+
!!! note
238+
This functionality was added in After Effects 25.1
239+
240+
#### Description
241+
242+
Returns an Array of [Font object](#font-object) instances which share the same font dictionary as this [Font object](#font-object).
243+
244+
Will return an empty Array if this [Font object](#font-object) is not a Variable font, or the Variable font only has one instance.
245+
246+
#### Type
247+
248+
Array of [Font objects](#font-object); read-only.
249+
250+
---
251+
233252
### FontObject.postScriptName
234253

235254
`app.fonts.allFonts[0][0].postScriptName`
@@ -429,7 +448,7 @@ An array of `CTScript` enumerated values; read-only. One or more of:
429448
`app.fonts.allFonts[0][0].hasGlyphsFor(charString)`
430449

431450
!!! note
432-
This functionality was added in After Effects (Beta) 25.0 and is subject to change while it remains in Beta.
451+
This functionality was added in After Effects 25.1
433452

434453
#### Description
435454

@@ -475,30 +494,6 @@ Boolean.
475494

476495
---
477496

478-
### FontObject.otherFontsWithSameDict()
479-
480-
`app.fonts.fontsWithDefaultDesignAxes[0].otherFontsWithSameDict(fontObject)`
481-
482-
!!! note
483-
This functionality was added in After Effects (Beta) 25.0 and is subject to change while it remains in Beta.
484-
485-
#### Description
486-
487-
Given an [Font object](#font-object) passed as an argument, returns an Array of [Font object](#font-object) instances which share the same font dictionary as the [Font object](#font-object) the function is called on.
488-
489-
Will return an empty Array if the argument is not a Variable font, or the Variable font only has one instance (the parameter one).
490-
491-
#### Parameters
492-
493-
| Parameter | Type | Description |
494-
| ------------ | --------------------------- | --------------- |
495-
| `fontObject` | [Font object](#font-object) | Object to check |
496-
497-
#### Returns
498-
499-
Array of [Font objects](#font-object), may be empty.
500-
501-
---
502497

503498
### FontObject.postScriptNameForDesignVector()
504499

‎docs/text/fontsobject.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ A `SubstitutedFontReplacementMatchPolicy` enumerated value; read/write. One of:
242242
`app.fonts.getCTScriptForString(charString, preferredCTScript)`
243243

244244
!!! note
245-
This functionality was added in After Effects (Beta) 25.0 and is subject to change while it remains in Beta.
245+
This functionality was added in After Effects 25.1
246246

247247
#### Description
248248

@@ -280,7 +280,7 @@ Array of generic objects;
280280
`app.fonts.getDefaultFontForCTScript(ctScript)`
281281

282282
!!! note
283-
This functionality was added in After Effects (Beta) 25.0 and is subject to change while it remains in Beta.
283+
This functionality was added in After Effects 25.1
284284

285285
#### Description
286286

@@ -440,7 +440,7 @@ Boolean; One of:
440440
`app.fonts.setDefaultFontForCTScript(ctScript, font)`
441441

442442
!!! note
443-
This functionality was added in After Effects (Beta) 25.0 and is subject to change while it remains in Beta.
443+
This functionality was added in After Effects 25.1
444444

445445
#### Description
446446

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /