Skip to content

Commit

Permalink
Moved workingGamma and workingSpace attributes into proper alphabetic…
Browse files Browse the repository at this point in the history
…al order.
  • Loading branch information
tkurkoskiAdobe committed Nov 27, 2018
1 parent c17fd89 commit 2e75620
Showing 1 changed file with 47 additions and 47 deletions.
94 changes: 47 additions & 47 deletions docs/general/project.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,53 +48,6 @@ The color depth of the current project, either 8, 16, or 32 bits.

Integer (8, 16, or 32 only); read/write.

----

.. _Project.workingSpace:

Project.workingSpace
********************

``app.project.workingSpace``

**Description**

A string which is the color profile description for the project's color working space. To set the working space to None, set ``workingSpace`` to an empty string.

Use ``app.project.listColorProfiles()`` to return an array of available color profile descriptions that can be used to set the color working space.

**Type**

String; read/write.

**Examples**

* To set the working space to Rec.709 Gamma 2.4: ``app.project.workingSpace = "Rec.709 Gamma 2.4";``
* To set the working space to None: ``app.project.workingSpace = "";``
* To get the current working space: ``var currentSpace = app.project.workingSpace;``

----

.. _Project.workingGamma:

Project.workingGamma
********************

``app.project.workingGamma``

**Description**

The current project's working gamma value, either 2.2 or 2.4. Setting values other than 2.2 or 2.4 will cause a scripting error. Note that when the project's color working space is set, the working gamma value is ignored by After Effects.

**Type**

Number; read/write.

**Examples**

* To set the working working gamma to 2.4 (Rec. 709): ``app.project.workingGamma = 2.4;``
* To get the current working gamma: ``var currentGamma = app.project.workingGamma;``

----

.. _Project.displayStartFrame:
Expand Down Expand Up @@ -524,6 +477,53 @@ Boolean; read/write.

----

.. _Project.workingGamma:

Project.workingGamma
********************

``app.project.workingGamma``

**Description**

The current project's working gamma value, either 2.2 or 2.4. Setting values other than 2.2 or 2.4 will cause a scripting error. Note that when the project's color working space is set, the working gamma value is ignored by After Effects.

**Type**

Number; read/write.

**Examples**

* To set the working working gamma to 2.4 (Rec. 709): ``app.project.workingGamma = 2.4;``
* To get the current working gamma: ``var currentGamma = app.project.workingGamma;``

----

.. _Project.workingSpace:

Project.workingSpace
********************

``app.project.workingSpace``

**Description**

A string which is the color profile description for the project's color working space. To set the working space to None, set ``workingSpace`` to an empty string.

Use ``app.project.listColorProfiles()`` to return an array of available color profile descriptions that can be used to set the color working space.

**Type**

String; read/write.

**Examples**

* To set the working space to Rec.709 Gamma 2.4: ``app.project.workingSpace = "Rec.709 Gamma 2.4";``
* To set the working space to None: ``app.project.workingSpace = "";``
* To get the current working space: ``var currentSpace = app.project.workingSpace;``

----

.. _Project.xmpPacket:

Project.xmpPacket
Expand Down

0 comments on commit 2e75620

Please sign in to comment.