LGC – PSD background check

Script: SanityCheckPsd-LGC-01, to run with the Execute Script task.
Role: checks that a Photoshop background follows the production's rules. The result is shown in the Log.

What is checked

Element Rule
All layers Fill at 100%
FRAME root folder Must exist
Layers of FRAME (camera frames) Named with a letter: A, B, C…
REF_SIZE root folder Optional (no posing on establishing shots). If it exists, it must contain a layer or group named LINEUP, CH_LINEUP or LINE_UP.
STORYBOARD root folder Must exist
BG_COLOR root folder Must exist
Layers and groups Name starting with OL_, UL_, PR_, FX_ or CH_
Layers and groups No special characters: only a-z A-Z 0-9 - _
Effects No blend mode: use opacity
OL, UL, PR, CH layers Flattened (no groups)
If the script name is mistyped, Photoshop shows the error ExecuteMyScript(…) not found.