Toolpack:Copy variant script D: Difference between revisions
(Created page with "=== '''''Applies to version(s): v2.9.''''' === {{DISPLAYTITLE:Copy Variant Script}} If you plan to modify an existing CAS script, you may optionally create a copy of that scri...") |
No edit summary |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:Copy Variant Script}} | {{DISPLAYTITLE:Copy Variant Script}} | ||
If you plan to modify an existing CAS script, you | {| class="wikitable" | ||
|- | |||
|rowspan="3"|This article applies to: | |||
|'''Product''' | |||
|'''Version''' | |||
|- | |||
|Tmedia | |||
|3.0, 3.2, 3.3 | |||
|} | |||
If you plan to modify an existing CAS script, you can create a copy of that script first. | |||
To make a copy: | |||
1- Click '''CAS''' in the navigation panel | 1- Click '''CAS''' in the navigation panel | ||
| Line 42: | Line 49: | ||
'''Path''' | '''Path''' | ||
<pre> | <pre> | ||
/configurations/@[configuration_name]/cas_scripts/@[script_name] | |||
</pre> | </pre> | ||
'''Parameters (text)''' | '''Parameters (text)''' | ||
<pre> | <pre> | ||
/configurations/@[configuration_name]/cas_scripts/@[script_name] | |||
name = "@[script_name]" | |||
revision = 128082 | |||
source = "Your CAS script goes here" | |||
</pre> | </pre> | ||
'''Parameters (json)''' | '''Parameters (json)''' | ||
<pre> | <pre> | ||
"name" : "@[script_name]", | |||
"revision" : 128082, | |||
"source" : "Your CAS script goes here", | |||
"unique_name" : "@[script_name].lua_128082" | |||
} | |||
</pre> | </pre> | ||
</div> | </div> | ||
==List of Parameters== | ==List of Parameters== | ||
* [[Parameter: Name|Name]] | * [[Parameter: Name|Name]] | ||
Latest revision as of 13:46, 24 June 2024
| This article applies to: | Product | Version |
| Tmedia | 3.0, 3.2, 3.3 |
If you plan to modify an existing CAS script, you can create a copy of that script first.
To make a copy:
1- Click CAS in the navigation panel
2- Click the Scripts tab
3- Click Copy next to the desired configuration
4- Copy the CAS Script:
- Enter a new name for the script
- Click Save
5- Verify that the "Script file was successfully created" message appears
6- The copied script appears in the User Scripts list
Path
/configurations/@[configuration_name]/cas_scripts/@[script_name]
Parameters (text)
/configurations/@[configuration_name]/cas_scripts/@[script_name] name = "@[script_name]" revision = 128082 source = "Your CAS script goes here"
Parameters (json)
"name" : "@[script_name]", "revision" : 128082, "source" : "Your CAS script goes here", "unique_name" : "@[script_name].lua_128082" }




