List of built-in Macros
<< Click to Display Table of Contents >> Navigation: Macros > List of built-in Macros |
EZTitles comes with a dozen Macros built-in by default which we hope you'll find useful during your work.
1. Custom Checks
This is one of the more advanced built-in Macros that performs several checks at once which are otherwise not covered by the "regular" Checks:
▪If ellipsis contain exactly three full stops: two full stops or any instance of four or more full stops will be indicated.
▪If there's space inserted after hyphen as part of a dialogue.
▪Check for lines starting with two hyphens.
▪Check for text on a single line starting with hyphen.
▪Subtitles with two text lines as part of a dialogue: checks if hyphen is inserted on the second line if the first text row starts with hyphen.
▪Subtitle with multiple lines and only one hyphen.
▪Space missing after left parenthesis or before right parenthesis.
▪Checks if there's text enclosed in parenthesis in italics.
Can be configured to check if the text inside the parenthesis is not in italics by changing line 103 to CheckItalicInParentheses(true);
All subtitles matching any of the above criteria will be sent to the Log List. In addition, comment clarifying the reason will be attached to every subtitle too.
2. Custom Fix
Macro intended to automatically Fix most of the above issues:
▪Removes any extra hyphens (two or more) found at the beginning of a text line.
▪Adds a space between the dialogue hyphen and the text. Will not change lines that had space after the hyphen.
▪Removes hyphen found at the beginning of subtitle with single text line.
▪Adds space after the left parenthesis or before the right parenthesis. Will not change the text if space was already inserted correctly.
▪Changes italics style of text enclosed inside parenthesis. By default it will remove the italics formatting.
It can be configured to the opposite by modifying the value for must_be_italic variable to "true" on line 109: must_be_italic = true;
All modified subtitles will be sent to the Log List for revision. Warning message will be displayed if there are subtitles exceeding the Safe Area limits or below the reading speed.
3. Custom Uppercase (Greek)
Changes of the selected text to UPPERCASE and removes all Diacritic marks from the uppercase letters.
4. Move text to next subtitle
Cuts the text after the cursor from the selected subtitle then inserts new subtitle and pastes it in.
5. Normal Height Empty Rows
Changes the height of empty line between the text from Double to Normal Height. This macro will work only in Teletext mode.
6. Snap to Next shot change
Snaps the Out-cue of the current subtitle to the next shot change. If Out-cue is already snapped to a shot change, the macro will instead snap it to the next shot change and if there's another subtitle inserted before the next shot change, the Out-cue will be snapped to the min. interval from it.
7. Snap to Previous shot change
Snaps the In-cue of the current subtitle to the previous shot change. If the In-Cue is already snapped to a shot change, the macro will instead snap to the previous shot change. If there's another subtitle in between, the In-cue will be snapped to the min. interval from the previous subtitle's Out-cue.
8. Insert space before/after punctuation (French)
Adds space before or after full stop, comma, question mark, exclamation mark, colon, semicolon, percent sign, dollar sign or number sign in accordance with the French grammar rules. If there's space, the macro will not add second one.
All modified subtitles will be sent to the Log List for revision. Warning message will be displayed if there are subtitles exceeding the Safe Area limits or below the reading speed.
9. Split Sentence
This is one of the more advance macros as it does a couple of operations simultaneously:
▪Splits the text into two sentences at cursor's current position on the line. It will also insert full stop before the cursor and will capitalize next character.
▪When the macro is invoked after a punctuation mark (full stop, question mark or exclamation mark), the punctuation mark will be deleted and first character in the next word will be turned into lowercase.