- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Description
The script object contains context information for your script that you may want access to.
Think of this object as the context for your script when it runs.
Properties
Below is a list of properties supported by this object.
Name | Description | UWP | Web | Avatars |
---|---|---|---|---|
args | A collection of inputs to the current script (when applicable) | Yes | Yes | Yes |
Functions
Below is a list of functions supported by this object.
Name | Description | UWP | Web | Avatars |
---|---|---|---|---|
--- | --- | --- | --- | --- |
Remarks
App scripts are typically triggered when some system event occurs. For example, when a user selection occurs within the visual layout of your app, you may want to take an action in your script.
To do so, create a script associated with the Ux.Change event. Then, when your script runs, you can use this script object to access the args (aka inputs or arguments) that the user actually changed and take an appropriate action.