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