Toolpack:Copy variant script D

From TBwiki
(Difference between revisions)
Jump to: navigation, search
m
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
=== '''''Applies to version(s): v2.9, v2.10, v3.0''''' ===
 
 
{{DISPLAYTITLE:Copy Variant Script}}
 
{{DISPLAYTITLE:Copy Variant Script}}
If you plan to modify an existing CAS script, you may optionally create a copy of that script first.
+
{| class="wikitable"
 
+
|-
To do this:
+
|rowspan="3"|This article applies to:
 +
|'''Product'''
 +
|'''Version'''
 +
|-
 +
|Tmedia
 +
|2.9, 2.10, 3.0, 3.2
 +
|}
 +
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 50: Line 57:
 
name        = "@[script_name]"
 
name        = "@[script_name]"
 
revision    = 128082
 
revision    = 128082
source      = ""
+
source      = "Your CAS script goes here"
 
</pre>
 
</pre>
  
Line 57: Line 64:
 
   "name" : "@[script_name]",
 
   "name" : "@[script_name]",
 
   "revision" : 128082,
 
   "revision" : 128082,
   "source" : "",
+
   "source" : "Your CAS script goes here",
 
   "unique_name" : "@[script_name].lua_128082"
 
   "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:24, 25 November 2020

This article applies to: Product Version
Tmedia 2.9, 2.10, 3.0, 3.2

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

CASR2 0 A.png

2- Click the Scripts tab

CASR2 1 A.png


3- Click Copy next to the desired configuration

CASR2 2 A.png


4- Copy the CAS Script:

  • Enter a new name for the script
  • Click Save

CASR2 3 A.png


5- Verify that the "Script file was successfully created" message appears

CASR2 4 A.png


6- The copied script appears in the User Scripts list

CASR2 5 A.png


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"
}

List of Parameters

Personal tools