In each Commander or in the Script editor you can have acces to different parameter and functions.
You can read and write parameter to script your own needed logic.

Here are more details to different topics: