selectedAll

Prev Next

Description

Returns whether or not all of the specified app objects have valid values.


Input Parameters

Name Type Required Description
tokensOrNames Text Yes Comma-seperated list of app object token(s) and/or name(s)

Returns

Type: Boolean

Returns whether or not all of the specified app objects have a valid value.


Examples

// check if both objects [10] and [15] are selected
var all = app.selectedAll("[10], [15]");
debug.log(all);
JavaScript

Remarks

This function is useful if you need to test whether or not a group of objects all currently have valid values.

Token Syntax

This function uses the native app object token syntax, which refers to the ID of an object within your app that is enclosed in square brackets.

Example: [10]