Skip to content

Anywhere object

app.anywhere

The Anywhere object represents any Adobe Anywhere or Team Projects servers available.


None.


app.anywhere.getAuthenticationToken()

Retrieves an authentication token.

None.

A String containing the login token, or 0 if unsuccessful.


Anywhere.getCurrentEditingSessionActiveSequenceURL()

Section titled “Anywhere.getCurrentEditingSessionActiveSequenceURL()”

app.anywhere.getCurrentEditingSessionActiveSequenceURL()

Retrieves the URL of the currently active sequence, within a production.

None.

Returns a String containing the asset’s URL, or 0 if unsuccessful (including if there is no active sequence, or if no editing session is opened).


Anywhere.getCurrentEditingSessionSelectionURL()

Section titled “Anywhere.getCurrentEditingSessionSelectionURL()”

app.anywhere.getCurrentEditingSessionSelectionURL()

Retrieves the URL of the currently selected single asset. Will fail if more or fewer than one item is selected.

None.

Returns a String containing the asset’s URL, or 0 if unsuccessful (including if more or fewre than one item is selected).


app.anywhere.getCurrentEditingSessionURL()

Retrieves the URL of the Production, currently being edited.

None.

Returns a String containing the production’s URL, or 0 if unsuccessful.


app.anywhere.isProductionOpen()

Retrieves whether an Anywhere or Team Projects production is currently open.

None.

Returns true if a production is open; false if not.


app.anywhere.listProductions()

Retrieves production names, available to the current user, on the current server.

None.

Returns an Array of Strings containing the names of avialable productions, or 0 if unsuccessful.


app.anywhere.openProduction(productionURL)

Opens the production at the specified URL.

ParameterTypeDescription
productionURLStringThe url of the production to open.

Returns 0 if successful.


app.anywhere.setAuthenticationToken(token, emailAddress)

Logs the specified email address into the server, using the provided token.

ParameterTypeDescription
tokenStringAn authorization token.
emailAddressStringThe associated email address.

Returns 0 if successful.