| Script Parameters | Subsystem List | Top level |
See also Standard Test Data.
If you are running a script, you are responsible for observing these restrictions. If you provide a parameter value that violates a restriction, then the behaviour of the script is undefined, and the results are invalid. Note that each individual script may impose additional restrictions on each parameter. Refer to the script's documentation for details.
If you are writing a script, you should check each parameter (that your script
uses) against these
restrictions using RequireSetup.
If you are running a script, you may assume that any script will work with parameters that fall within the safe specs.
If you are writing a script, you must ensure that your script will accept parameters that fall within the safe specs (if your script uses the parameter at all). You are encouraged, but not required, to make your script accept parameters outside of the safe spec (but within the Restrictions).
| Parameter Name | Data Type | Handled By | Comments |
|---|---|---|---|
| Source Clip Parameters | |||
SourceClipBin | string
| Script | |
SourceClip1 | MONclipParam
| Script | { ClipName, MarkIn, MarkOut , PosType } |
SourceClip2 | MONclipParam
| Script | { ClipName, MarkIn, MarkOut , PosType } |
SourceClip3 | MONclipParam
| Script | { ClipName, MarkIn, MarkOut , PosType } |
| Sequence Parameters | |||
SequenceBin | string
| Script | |
SequenceName | string
| Script | |
SequencePositionType | MONposTypeParam
| Script | values: MONposSelection
|
| PRODUCT Parameters | |||
lsMCapplicationDir | list of string
| MC Rec. | |
sMCapplicationFile | string
| MC Rec. | |
sMCapplicationName | string
| MC Rec. | |
sMCvideoMediaDrive | string
| Script | |
sMCaudioMediaDrive | string
| Script | |
lsMCstartupOptions | list of string
| MC Rec. |
values: MCstartupOption.
|
sMCmodel | string
| MC Rec. |
values: MCmodel.
|
sMCinternalReleaseName | string
| MC Rec. | |
bMCquitOnScriptExit | boolean
| MC Rec. | (NEW) |
| Other Parameters | |||
ProjectName | string
| MC Rec. | Default = gsMC_DEFAULT_PROJECT
|
UserName | string
| MC Rec. | Default = gsMC_DEFAULT_USER
|
iRECrandomSeed | integer
| Recovery | Default = time of day |
lsCUloggingOptions | list of string
| Recovery | values: CUloggingOption
|
bREClogSysInfo | boolean
| Recovery | |
bRECquitOnFatalError | boolean
| Recovery | |
sRECdontRunScript | string
| Recovery | |
lsCUdebugPrint | list of string
| Recovery |
lsMCapplicationDir | Type: list of stringDefaults: glsMC_APPL_DIR
|
lsMCapplicationDir | Type: stringDefaults: glsMC_APPL_FILE
|
sMCapplicationName | Type: stringDefaults: glsMC_APPL_NAME
|
sMCaudioMediaDrive | Type: stringDefaults: gsMC_AUDIO_MEDIA_DRIVE
|
sMCvideoMediaDrive | Type: stringDefaults: gsMC_VIDEO_MEDIA_DRIVE
|
sMCmodel | Type: stringDefault: none |
MCmodel.
sMCinternalReleaseName | Type: stringDefault: none |
bMCquitOnScriptExit | Type: booleanDefault: FALSE
|
lsCUloggingOptions | Type: list of stringDefault: { "eCU_LOG_GUI_ACTIONS" }
|
This parameter is only used during ScriptEnter
(i.e. at script start-up time), not during TestCaseEnter
(i.e. not for each separate testcase).
CUloggingOption.
bREClogSysInfo | Type: booleanDefault: FALSE
|
It is only used during ScriptEnter
(i.e. at script start-up time), not during TestCaseEnter
(i.e. not for each separate testcase).
lsMCstartupOptions | Type: list of stringDefault: (none) |
MCrecLaunch.
MCstartupOption.
ProjectName | Type: stringDefault: gsMC_DEFAULT_PROJECT
|
This parameter is only used during ScriptEnter
(i.e. at script start-up time), not during TestCaseEnter
(i.e. not for each separate testcase).
Note that the project could be NTSC, PAL or Film.
In most cases, your script should run in any type of project.
You can check for this by calling
gwPRJwindow.GetFormat.
SourceClipBin and
SequenceBin parameters.
(It may contain other bins as well.)
sRECdontRunScript | Type: string
|
Use this parameter to temporarily prevent script execution, while maintaining a record that the script was intentionally not run.
bRECquitOnFatalError | Type: booleanDefault: FALSE
|
iRECrandomSeed | Type: integerDefault: time of day |
RandSeed,
and displays the value of the seed in the results file.
If the RandomSeed script parameter is specified,
its value is used as the seed.
If this parameter is not specified, the recovery system sets
the seed to a value calculated from the time of day.Normally, a script should be run without an explicit random number seed. This allows the script to use different sets of random numbers each time it runs. However, if you need to exactly reproduce what a script did, you can obtain the seed from the previous run by looking in the results file, and use the value to set the seed so that the next run will produce exactly the same set of random numbers.
SequenceBin | Type: string
|
ProjectName parameter.
SequenceName
parameter.
(It may also contain any number of other media objects of any type.)
SequenceName | Type: string
|
SequenceBin parameter.
SequencePositionType | Type: MONposTypeParam
|
MONposTypeParam.
Scripts should retrieve this parameter by calling
MONgetPosTypeParam.
"eMON_POS_MASTER_TC"
SourceClip1, SourceClip2, SourceClip3 | Type: MONclipParam
|
The value of each of these parameters is a list of 4 strings.
The first string in the list is the name of the source clip;
the second string is the mark in point; the third string is the mark out point.
Andthe fourth string specifies the position type (timecode or edgecode).
For more information, see
MONclipParam.
Scripts should retrieve these parameters by calling
MONgetClipParam.
SourceClipBin parameter.
"eMON_POS_SOURCE_TC V1"
SourceClipBin | Type: string
|
ProjectName parameter.
SourceClip
parameters.
(It may also contain any number of other media objects of any type.)
SourcePositionType | Type: MONposTypeParam
|
MONposTypeParam.
Scripts should retrieve this parameter by calling
MONgetPosTypeParam.
"eMON_POS_SOURCE_TC V1"
UserName | Type: stringDefault: gsMC_DEFAULT_USER
|
This parameter is only used during ScriptEnter
(i.e. at script start-up time), not during TestCaseEnter0
(i.e. not for each separate testcase).
Most scripts shouldn't care about this parameter.
This page is maintained by
(REMOVED).
It was last updated on 4 May 1999.