Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce Bullis committed May 25, 2021
2 parents cf4192b + fb283dd commit 0342b35
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 3 deletions.
71 changes: 71 additions & 0 deletions docs/application/application.rst
Original file line number Diff line number Diff line change
Expand Up @@ -849,3 +849,74 @@ None.
**Returns**

Returns **true** if trace was added.

----

.. _app.getProjectViewIDs:

app.getProjectViewIDs()
*********************************************

``app.getProjectViewIDs()``

**Description**

Returns the view IDs of currently-open views, associated with any project.

**Parameters**

None.

**Returns**

An array of view IDs; can be null.

**Example**

.. code:: javascript
var allViewIDs = app.getProjectViewIDs();
if (allViewIDs){
var firstOne = allViewIDs[0];
} else {
// No views open.
}
----

.. _app.getProjectFromViewID:

app.getProjectFromViewID()
*********************************************

``app.getProjectFromViewID()``

**Description**

Returns the Project associated with the provided View ID.

**Parameters**

A View ID, obtained from `getProjectViewIDs`.

**Returns**

A Project object, for the project associated with the provided View ID. Can be `null`.

**Example**

.. code:: javascript
var allViewIDs = app.getProjectViewIDs();
if (allViewIDs){
var firstOne = allViewIDs[0];
if (firstOne){
var thisProject = getProjectFromViewID(firstOne);
if (thisProject){
var name = thisProject.name;
} else {
// no project associated with that view ID.
}
} else {
// No views open.
}
2 changes: 1 addition & 1 deletion docs/general/sourcemonitor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ Argument Type Description

**Returns**

Returns 0 if successful.
Returns ``true`` if successful.

----

Expand Down
2 changes: 1 addition & 1 deletion docs/introduction/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ What's new and changed for scripting?

.. _Changelog.14.x:

`Adobe Premiere Pro 14.x`_
`Adobe Premiere Pro 14.0`_
************************************************************************************************************************************

- Scripting access to Auto-Reframe:
Expand Down
2 changes: 1 addition & 1 deletion docs/sequence/sequence.rst
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ None.

**Returns**

Returns a :ref:`sequence` if successful, **0** if not.
Returns a boolean indicating whether the cloning was successful.

----

Expand Down

0 comments on commit 0342b35

Please sign in to comment.