Anywhere object
Anywhere object
Section titled “Anywhere object”app.anywhere
Description
Section titled “Description”The Anywhere
object represents any Adobe Anywhere or Team Projects servers available.
Attributes
Section titled “Attributes”None.
Methods
Section titled “Methods”Anywhere.getAuthenticationToken()
Section titled “Anywhere.getAuthenticationToken()”app.anywhere.getAuthenticationToken()
Description
Section titled “Description”Retrieves an authentication token.
Parameters
Section titled “Parameters”None.
Returns
Section titled “Returns”A String containing the login token, or 0
if unsuccessful.
Anywhere.getCurrentEditingSessionActiveSequenceURL()
Section titled “Anywhere.getCurrentEditingSessionActiveSequenceURL()”app.anywhere.getCurrentEditingSessionActiveSequenceURL()
Description
Section titled “Description”Retrieves the URL of the currently active sequence, within a production.
Parameters
Section titled “Parameters”None.
Returns
Section titled “Returns”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()
Description
Section titled “Description”Retrieves the URL of the currently selected single asset. Will fail if more or fewer than one item is selected.
Parameters
Section titled “Parameters”None.
Returns
Section titled “Returns”Returns a String containing the asset’s URL, or 0
if unsuccessful (including if more or fewre than one item is selected).
Anywhere.getCurrentEditingSessionURL()
Section titled “Anywhere.getCurrentEditingSessionURL()”app.anywhere.getCurrentEditingSessionURL()
Description
Section titled “Description”Retrieves the URL of the Production, currently being edited.
Parameters
Section titled “Parameters”None.
Returns
Section titled “Returns”Returns a String containing the production’s URL, or 0
if unsuccessful.
Anywhere.isProductionOpen()
Section titled “Anywhere.isProductionOpen()”app.anywhere.isProductionOpen()
Description
Section titled “Description”Retrieves whether an Anywhere or Team Projects production is currently open.
Parameters
Section titled “Parameters”None.
Returns
Section titled “Returns”Returns true
if a production is open; false
if not.
Anywhere.listProductions()
Section titled “Anywhere.listProductions()”app.anywhere.listProductions()
Description
Section titled “Description”Retrieves production names, available to the current user, on the current server.
Parameters
Section titled “Parameters”None.
Returns
Section titled “Returns”Returns an Array of Strings containing the names of avialable productions, or 0
if unsuccessful.
Anywhere.openProduction()
Section titled “Anywhere.openProduction()”app.anywhere.openProduction(productionURL)
Description
Section titled “Description”Opens the production at the specified URL.
Parameters
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
productionURL | String | The url of the production to open. |
Returns
Section titled “Returns”Returns 0
if successful.
Anywhere.setAuthenticationToken()
Section titled “Anywhere.setAuthenticationToken()”app.anywhere.setAuthenticationToken(token, emailAddress)
Description
Section titled “Description”Logs the specified email address into the server, using the provided token.
Parameters
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
token | String | An authorization token. |
emailAddress | String | The associated email address. |
Returns
Section titled “Returns”Returns 0
if successful.