Skip to content

Commit

Permalink
Swap curly quotes with straight
Browse files Browse the repository at this point in the history
  • Loading branch information
zlovatt committed Jun 18, 2020
1 parent 0bee49d commit b1b7611
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 13 deletions.
4 changes: 2 additions & 2 deletions docs/general/globals.rst
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ Floating-point, pseudo-random number in the range [0, 1].
// use new generateRandomNumber() instead

x = 400*(generateRandomNumber()) – 200;
currentPos = myComp.layer(i).property(Position).value;
myComp.layer(i).property(Position).setValue([currentPos[0]+x,currentPos[1]]);
currentPos = myComp.layer(i).property("Position").value;
myComp.layer(i).property("Position").setValue([currentPos[0]+x,currentPos[1]]);
}

----
Expand Down
6 changes: 3 additions & 3 deletions docs/introduction/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ What's new and changed for scripting?
************************************************************************************************************************************

- Buttons in ScriptUI panels have been reverted to the rectangular appearance seen in After Effects 14.1 and previous releases.
- The :ref:`AVItem.setProxyToNone` scripting method no longer fails with an error message, After Effects error: AEGP trying to add invalid footage.
- The :ref:`AVItem.setProxyToNone` scripting method no longer fails with an error message, "After Effects error: AEGP trying to add invalid footage".
- The :ref:`System.callSystem` scripting method now waits for all tasks called by the command to complete, instead of failing when the command takes a long time to complete.

----
Expand Down Expand Up @@ -122,9 +122,9 @@ What's new and changed for scripting?
- Added: :ref:`Project.resolveConflict`

- Drop-down menus in ScriptUI panels are no longer clipped on HiDPI displays on Windows.
- The appearance of buttons, sliders, disclosure triangles (twirly arrow), scroll bar, progress bar, radio buttons, and checkboxes in ScriptUI embedded panels have been updated to match the appearance of After Effects native controls.
- The appearance of buttons, sliders, disclosure triangles ("twirly arrow"), scroll bar, progress bar, radio buttons, and checkboxes in ScriptUI embedded panels have been updated to match the appearance of After Effects native controls.
- After Effects no longer crashes when the :ref:`TextDocument.compPointToSource` scripting method is used with a 3D text layer.
- The match name of the Fast Box Blur effect is ADBE Box Blur2. The older match name ADBE Box Blur will continue to work: when used to add the effect, ADBE Box Blur will apply the Fast Box Blur effect, but with the older name Box Blur; the Iterations parameter will be set to the new default of 3.
- The match name of the Fast Box Blur effect is "ADBE Box Blur2". The older match name "ADBE Box Blur" will continue to work: when used to add the effect, "ADBE Box Blur" will apply the Fast Box Blur effect, but with the older name "Box Blur"; the Iterations parameter will be set to the new default of 3.

----

Expand Down
4 changes: 2 additions & 2 deletions docs/introduction/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ After Effects includes a script editor and debugger, the ExtendScript Toolkit (E

To start the ESTK, choose File > Scripts > Open Script Editor.

If you choose to use another text editor to create, edit, and save scripts, be sure to choose an application that does not automatically add header information when saving files and that saves with Unicode (UTF-8) encoding. In many text editors, you can set preferences for saving with UTF-8 encoding. Some applications (such as Microsoft Word) by default add header information to files that can cause line 0 errors in scripts, causing them to fail.
If you choose to use another text editor to create, edit, and save scripts, be sure to choose an application that does not automatically add header information when saving files and that saves with Unicode (UTF-8) encoding. In many text editors, you can set preferences for saving with UTF-8 encoding. Some applications (such as Microsoft Word) by default add header information to files that can cause "line 0" errors in scripts, causing them to fail.

For detailed information on the ExtendScript Toolkit, see the JavaScript Tools Guide.

Expand Down Expand Up @@ -130,7 +130,7 @@ Alternatively, you could display a dialog box asking for the location of the JSX
.. note::
This documentation is incorrect, the correct invocation in this instance is :code:`DoScriptFile`

Finally, this script is perhaps most useful when you are working directly on editing a JSX script and want to send it to After Effects for testing or to run. To use it effectively you must enter the application that contains the open JSX file (in this example it is TextEdit); if you do not know the proper name of the application, type in your best guess to replace TextEdit and AppleScript prompts you to locate it.
Finally, this script is perhaps most useful when you are working directly on editing a JSX script and want to send it to After Effects for testing or to run. To use it effectively you must enter the application that contains the open JSX file (in this example it is TextEdit); if you do not know the proper name of the application, type in your best guess to replace "TextEdit" and AppleScript prompts you to locate it.

Simply highlight the script text that you want to run, and then activate this AppleScript:

Expand Down
22 changes: 19 additions & 3 deletions docs/other/textdocument.rst
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,23 @@ The baseline (x,y) locations for a text layer. Line wraps in a paragraph text bo

**Type**

Array of floating-point values in the form of: ``line0.start_x, line0.start_y, line0.end_x, line0.end_y, line1.start_x, line1.start_y, line1.end_x, line1.end_y … lineN-1.start_x, lineN-1.start_y, lineN-1.end_x, lineN-1.end_y``
Array of floating-point values in the form of::

[
line0.start_x,
line0.start_y,
line0.end_x,
line0.end_y,
line1.start_x,
line1.start_y,
line1.end_x,
line1.end_y,
...
lineN-1.start_x,
lineN-1.start_y,
lineN-1.end_x,
lineN-1.end_y
]

----

Expand Down Expand Up @@ -398,7 +414,7 @@ TextDocument.fontStyle

**Description**

String with style information, e.g., bold”, “italic
String with style information, e.g., "bold", "italic"

.. warning::
This value only reflects the first character in the text layer at the current time.
Expand Down Expand Up @@ -475,7 +491,7 @@ TextDocument.leading

**Description**

The text layers spacing between lines.
The text layer's spacing between lines.

.. warning::
If the text layer has different leading settings for each line, this attribute returns the setting for the first line.
Expand Down
6 changes: 3 additions & 3 deletions docs/properties/property.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1200,7 +1200,7 @@ Sets the ``in`` and ``out`` interpolation types for the specified keyframe.
- ``KeyframeInterpolationType.BEZIER``
- ``KeyframeInterpolationType.HOLD``
``outType`` (Optional) The outgoing interpolation type. If not supplied, the
out' type is set to the ``inType`` value. A
'out' type is set to the ``inType`` value. A
``KeyframeInterpolationType`` enumerated value; one of:

- ``KeyframeInterpolationType.LINEAR``
Expand Down Expand Up @@ -1241,8 +1241,8 @@ Sets parameters for a Dropdown Menu Control's Menu Property. This method will ov
- Only strings are allowed.
- Empty item strings are not allowed.
- Duplicate item strings are not allowed.
- The character “| is not allowed in the item strings.
- The string “(-“ - can be specified as of the item strings. These appear as separator lines in the dropdown menu. The separator lines will claim an index for each of themselves.
- The character "|" is not allowed in the item strings.
- The string "(-" - can be specified as of the item strings. These appear as separator lines in the dropdown menu. The separator lines will claim an index for each of themselves.
============= ===================================================
.. note::
Expand Down

0 comments on commit b1b7611

Please sign in to comment.