Permalink
Browse files

added warnings for :no-scene-number :no-dialogs :empty-scene

  • Loading branch information...
1 parent 1296903 commit c2f4a49f48025c8c726625ca8111940b3ef5135d @unclebob committed Jul 10, 2014
Showing with 796 additions and 76 deletions.
  1. +1 −0 .gitignore
  2. +5 −10 ScriptSchedule.iml
  3. +680 −0 scriptWithNoSceneNumbers.fdx
  4. +28 −7 src/ScriptSchedule/core.clj
  5. +82 −59 test/ScriptSchedule/test/core.clj
View
1 .gitignore
@@ -10,4 +10,5 @@ pom.xml
.lein-deps-sum
.DS_Store
.lein-repl-history
+.idea
View
15 ScriptSchedule.iml
@@ -1,23 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
-<module type="JAVA_MODULE" version="4">
- <component name="FacetManager">
- <facet type="Clojure" name="Clojure">
- <configuration />
- </facet>
- </component>
+<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="false">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/classes" />
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
+ <excludeFolder url="file://$MODULE_DIR$/target" />
</content>
- <orderEntry type="jdk" jdkName="1.6" jdkType="JavaSDK" />
+ <orderEntry type="jdk" jdkName="1.7" jdkType="JavaSDK" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Leiningen: clojure-complete:0.2.3" level="project" />
- <orderEntry type="library" name="Leiningen: midje:1.5.0" level="project" />
- <orderEntry type="library" name="Leiningen: org.clojure/clojure:1.4.0" level="project" />
+ <orderEntry type="library" name="Leiningen: midje:1.5.1" level="project" />
+ <orderEntry type="library" name="Leiningen: org.clojure/clojure:1.5.0" level="project" />
<orderEntry type="library" name="Leiningen: org.clojure/tools.nrepl:0.2.3" level="project" />
<orderEntry type="library" name="Leiningen: bultitude:0.1.7" level="project" />
<orderEntry type="library" name="Leiningen: colorize:0.1.1" level="project" />
@@ -61,7 +57,6 @@
<orderEntry type="library" name="Leiningen: org.codehaus.plexus/plexus-utils:2.0.7" level="project" />
<orderEntry type="library" name="Leiningen: org.sonatype.sisu/sisu-inject-plexus:2.2.3" level="project" />
<orderEntry type="library" name="Leiningen: org.sonatype.sisu/sisu-inject-bean:2.2.3" level="project" />
- <orderEntry type="library" name="Leiningen: org.sonatype.sisu/sisu-guice:3.0.3" level="project" />
<orderEntry type="library" name="Leiningen: org.sonatype.aether/aether-spi:1.13.1" level="project" />
<orderEntry type="library" name="Leiningen: joda-time:2.0" level="project" />
</component>
View
680 scriptWithNoSceneNumbers.fdx
@@ -0,0 +1,680 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
+<FinalDraft DocumentType="Script" Template="No" Version="2">
+
+ <Content>
+ <Paragraph Type="Scene Heading">
+ <SceneProperties Length="1/8" Page="1" Title="">
+ <SceneArcBeats>
+ <CharacterArcBeat Name="JAMES"></CharacterArcBeat>
+ </SceneArcBeats>
+ </SceneProperties>
+ <Text>Back</Text>
+ </Paragraph>
+ <Paragraph Type="Character">
+ <Text>James</Text>
+ </Paragraph>
+ <Paragraph Type="Dialogue">
+ <Text>Hi</Text>
+ </Paragraph>
+ <Paragraph Type="Scene Heading">
+ <SceneProperties Length="1/8" Page="1" Title="">
+ <SceneArcBeats>
+ <CharacterArcBeat Name="BILL"></CharacterArcBeat>
+ </SceneArcBeats>
+ </SceneProperties>
+ <Text>Front</Text>
+ </Paragraph>
+ <Paragraph Type="Character">
+ <Text>Bill</Text>
+ </Paragraph>
+ <Paragraph Type="Dialogue">
+ <Text>Hello.</Text>
+ </Paragraph>
+ <Paragraph Type="Action">
+ <Text></Text>
+ </Paragraph>
+ </Content>
+
+ <Watermarking Text=""/>
+
+ <HeaderAndFooter FooterFirstPage="Yes" FooterVisible="No" HeaderFirstPage="No" HeaderVisible="Yes" StartingPage="1">
+ <Header>
+ <Paragraph Alignment="Left" FirstIndent="0.00" Leading="Regular" LeftIndent="1.25" RightIndent="-1.00" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""> </Text>
+ <DynamicLabel Type="Last Revised"/>
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""> </Text>
+ <DynamicLabel Type="Page #"/>
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style="">.</Text>
+ <Tabstops>
+ <Tabstop Position="4.50" Type="Center"/>
+ <Tabstop Position="7.25" Type="Right"/>
+ </Tabstops>
+ </Paragraph>
+ </Header>
+ <Footer>
+ <Paragraph Alignment="Right" FirstIndent="0.00" Leading="Regular" LeftIndent="1.25" RightIndent="-1.25" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""> </Text>
+ </Paragraph>
+ </Footer>
+ </HeaderAndFooter>
+
+ <SpellCheckIgnoreLists>
+ <IgnoredRanges/>
+ <IgnoredWords/>
+ </SpellCheckIgnoreLists>
+
+ <PageLayout BackgroundColor="#FFFFFFFFFFFF" BottomMargin="72" BreakDialogueAndActionAtSentences="Yes" DocumentLeading="Normal" FooterMargin="36" ForegroundColor="#000000000000" HeaderMargin="36" InvisiblesColor="#808080808080" TopMargin="72" UsesSmartQuotes="Yes">
+ <PageSize Height="11.00" Width="8.50"/>
+ <AutoCastList AddParentheses="Yes" AutomaticallyGenerate="Yes" CastListElement="Cast List"/>
+ </PageLayout>
+
+ <WindowState Height="1050" Left="-1680" Mode="Normal" Top="150" Width="634"/>
+
+ <TextState Scaling="100" Selection="32,32" ShowInvisibles="No"/>
+
+ <ElementSettings Type="General">
+ <FontSpec AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""/>
+ <ParagraphSpec Alignment="Left" FirstIndent="0.00" Leading="Regular" LeftIndent="1.50" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No"/>
+ <Behavior PaginateAs="General" ReturnKey="General" Shortcut="0"/>
+ </ElementSettings>
+
+ <ElementSettings Type="Scene Heading">
+ <FontSpec AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style="AllCaps"/>
+ <ParagraphSpec Alignment="Left" FirstIndent="0.00" Leading="Regular" LeftIndent="1.50" RightIndent="7.50" SpaceBefore="24" Spacing="1" StartsNewPage="No"/>
+ <Behavior PaginateAs="Scene Heading" ReturnKey="Action" Shortcut="1"/>
+ </ElementSettings>
+
+ <ElementSettings Type="Action">
+ <FontSpec AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""/>
+ <ParagraphSpec Alignment="Left" FirstIndent="0.00" Leading="Regular" LeftIndent="1.50" RightIndent="7.50" SpaceBefore="12" Spacing="1" StartsNewPage="No"/>
+ <Behavior PaginateAs="Action" ReturnKey="Action" Shortcut="2"/>
+ </ElementSettings>
+
+ <ElementSettings Type="Character">
+ <FontSpec AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style="AllCaps"/>
+ <ParagraphSpec Alignment="Left" FirstIndent="0.00" Leading="Regular" LeftIndent="3.50" RightIndent="7.25" SpaceBefore="12" Spacing="1" StartsNewPage="No"/>
+ <Behavior PaginateAs="Character" ReturnKey="Dialogue" Shortcut="3"/>
+ </ElementSettings>
+
+ <ElementSettings Type="Parenthetical">
+ <FontSpec AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""/>
+ <ParagraphSpec Alignment="Left" FirstIndent="-0.10" Leading="Regular" LeftIndent="3.00" RightIndent="5.50" SpaceBefore="0" Spacing="1" StartsNewPage="No"/>
+ <Behavior PaginateAs="Parenthetical" ReturnKey="Dialogue" Shortcut="4"/>
+ </ElementSettings>
+
+ <ElementSettings Type="Dialogue">
+ <FontSpec AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""/>
+ <ParagraphSpec Alignment="Left" FirstIndent="0.00" Leading="Regular" LeftIndent="2.50" RightIndent="6.00" SpaceBefore="0" Spacing="1" StartsNewPage="No"/>
+ <Behavior PaginateAs="Dialogue" ReturnKey="Action" Shortcut="5"/>
+ </ElementSettings>
+
+ <ElementSettings Type="Transition">
+ <FontSpec AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style="AllCaps"/>
+ <ParagraphSpec Alignment="Right" FirstIndent="0.00" Leading="Regular" LeftIndent="5.50" RightIndent="7.10" SpaceBefore="12" Spacing="1" StartsNewPage="No"/>
+ <Behavior PaginateAs="Transition" ReturnKey="Scene Heading" Shortcut="6"/>
+ </ElementSettings>
+
+ <ElementSettings Type="Shot">
+ <FontSpec AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style="AllCaps"/>
+ <ParagraphSpec Alignment="Left" FirstIndent="0.00" Leading="Regular" LeftIndent="1.50" RightIndent="7.50" SpaceBefore="24" Spacing="1" StartsNewPage="No"/>
+ <Behavior PaginateAs="Scene Heading" ReturnKey="Action" Shortcut="7"/>
+ </ElementSettings>
+
+ <ElementSettings Type="Cast List">
+ <FontSpec AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style="AllCaps"/>
+ <ParagraphSpec Alignment="Left" FirstIndent="0.00" Leading="Regular" LeftIndent="1.50" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No"/>
+ <Behavior PaginateAs="Action" ReturnKey="Action" Shortcut="8"/>
+ </ElementSettings>
+
+ <TitlePage>
+ <HeaderAndFooter FooterFirstPage="Yes" FooterVisible="No" HeaderFirstPage="No" HeaderVisible="Yes" StartingPage="1">
+ <Header>
+ <Paragraph Alignment="Right" FirstIndent="0.00" Leading="Regular" LeftIndent="1.25" RightIndent="-1.25" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <DynamicLabel Type="Page #"/>
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style="">.</Text>
+ </Paragraph>
+ </Header>
+ <Footer>
+ <Paragraph Alignment="Right" FirstIndent="0.00" Leading="Regular" LeftIndent="1.25" RightIndent="-1.25" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ </Footer>
+ </HeaderAndFooter>
+ <Content>
+ <Paragraph Alignment="Left" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Left" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Left" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Left" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Left" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Left" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Left" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Left" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Left" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Left" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Left" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Left" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Left" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Left" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Left" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Left" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Left" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Center" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style="Underline+AllCaps">Script Title</Text>
+ </Paragraph>
+ <Paragraph Alignment="Center" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Center" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Center" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Center" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style="">Written by</Text>
+ </Paragraph>
+ <Paragraph Alignment="Center" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Center" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Center" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style="">Name of First Writer</Text>
+ </Paragraph>
+ <Paragraph Alignment="Center" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Center" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Center" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Center" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Center" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style="">Based on, If Any</Text>
+ </Paragraph>
+ <Paragraph Alignment="Center" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Center" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Center" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Center" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Center" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Center" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Center" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Center" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Center" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Center" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Center" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Center" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Left" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Left" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Full" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Full" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Full" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Full" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Full" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Full" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Full" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Full" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""></Text>
+ </Paragraph>
+ <Paragraph Alignment="Full" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style="">Address</Text>
+ </Paragraph>
+ <Paragraph Alignment="Full" FirstIndent="0.00" Leading="Regular" LeftIndent="1.00" RightIndent="7.50" SpaceBefore="0" Spacing="1" StartsNewPage="No">
+ <Text AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style="">Phone Number</Text>
+ </Paragraph>
+ </Content>
+ <TextState Scaling="100" Selection="0,0" ShowInvisibles="No"/>
+ </TitlePage>
+
+ <UnanchoredScriptNotes/>
+
+ <SmartType>
+ <Characters>
+ <Character>James</Character>
+ <Character>Bill</Character>
+ </Characters>
+ <Extensions>
+ <Extension>(V.O.)</Extension>
+ <Extension>(O.S.)</Extension>
+ <Extension>(O.C.)</Extension>
+ <Extension>(CONT'D)</Extension>
+ <Extension>(SUBTITLE)</Extension>
+ </Extensions>
+ <SceneIntros Separator=". ">
+ <SceneIntro>INT</SceneIntro>
+ <SceneIntro>EXT</SceneIntro>
+ <SceneIntro>I/E</SceneIntro>
+ </SceneIntros>
+ <Locations>
+ <Location>BACK</Location>
+ <Location>FRONT</Location>
+ </Locations>
+ <TimesOfDay Separator=" - ">
+ <TimeOfDay>DAY</TimeOfDay>
+ <TimeOfDay>NIGHT</TimeOfDay>
+ <TimeOfDay>AFTERNOON</TimeOfDay>
+ <TimeOfDay>MORNING</TimeOfDay>
+ <TimeOfDay>EVENING</TimeOfDay>
+ <TimeOfDay>LATER</TimeOfDay>
+ <TimeOfDay>MOMENTS LATER</TimeOfDay>
+ <TimeOfDay>CONTINUOUS</TimeOfDay>
+ <TimeOfDay>THE NEXT DAY</TimeOfDay>
+ </TimesOfDay>
+ <Transitions>
+ <Transition>CUT TO:</Transition>
+ <Transition>FADE IN:</Transition>
+ <Transition>FADE OUT.</Transition>
+ <Transition>FADE TO:</Transition>
+ <Transition>DISSOLVE TO:</Transition>
+ <Transition>BACK TO:</Transition>
+ <Transition>MATCH CUT TO:</Transition>
+ <Transition>JUMP CUT TO:</Transition>
+ <Transition>FADE TO BLACK.</Transition>
+ </Transitions>
+ </SmartType>
+
+ <MoresAndContinueds>
+ <FontSpec AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""/>
+ <DialogueBreaks AutomaticCharacterContinueds="Yes" BottomOfPage="Yes" DialogueBottom="(MORE)" DialogueTop="(CONT'D)" TopOfNext="Yes"/>
+ <SceneBreaks ContinuedNumber="No" SceneBottom="(CONTINUED)" SceneBottomOfPage="No" SceneTop="CONTINUED:" SceneTopOfNext="No"/>
+ </MoresAndContinueds>
+
+ <LockedPages/>
+
+ <Revisions ActiveSet="1" Location="7.75" RevisionMode="No" RevisionsShown="Active" ShowAllMarks="No" ShowAllSets="No" ShowPageColor="No">
+ <Revision Color="#000000000000" FullRevision="No" ID="1" Mark="*" Name="Blue Rev. (mm/dd/yy)" PageColor="#C6C6EDEDFEFE" Style=""/>
+ <Revision Color="#000000000000" FullRevision="No" ID="2" Mark="*" Name="Pink Rev. (mm/dd/yy)" PageColor="#FDFDCCCCD4D4" Style=""/>
+ <Revision Color="#000000000000" FullRevision="No" ID="3" Mark="*" Name="Yellow Rev. (mm/dd/yy)" PageColor="#FDFDFFFFABAB" Style=""/>
+ <Revision Color="#000000000000" FullRevision="No" ID="4" Mark="*" Name="Green Rev. (mm/dd/yy)" PageColor="#D1D1FEFED0D0" Style=""/>
+ <Revision Color="#000000000000" FullRevision="No" ID="5" Mark="*" Name="Goldenrod Rev. (mm/dd/yy)" PageColor="#FAFACDCD3939" Style=""/>
+ <Revision Color="#000000000000" FullRevision="No" ID="6" Mark="*" Name="Buff Rev. (mm/dd/yy)" PageColor="#FCFCEDED9D9D" Style=""/>
+ <Revision Color="#000000000000" FullRevision="No" ID="7" Mark="*" Name="Salmon Rev. (mm/dd/yy)" PageColor="#F8F8AEAE8E8E" Style=""/>
+ <Revision Color="#000000000000" FullRevision="No" ID="8" Mark="*" Name="Cherry Rev. (mm/dd/yy)" PageColor="#FBFBA4A4B4B4" Style=""/>
+ <Revision Color="#000000000000" FullRevision="No" ID="9" Mark="*" Name="Tan Rev. (mm/dd/yy)" PageColor="#FDFDF1F1C7C7" Style=""/>
+ <Revision Color="#000000000000" FullRevision="No" ID="10" Mark="*" Name="2nd White Rev. (mm/dd/yy)" PageColor="#FFFFFFFFFFFF" Style=""/>
+ <Revision Color="#000000000000" FullRevision="No" ID="11" Mark="*" Name="2nd Blue Rev. (mm/dd/yy)" PageColor="#C6C6EDEDFEFE" Style=""/>
+ <Revision Color="#000000000000" FullRevision="No" ID="12" Mark="*" Name="2nd Pink Rev. (mm/dd/yy)" PageColor="#FDFDCCCCD4D4" Style=""/>
+ <Revision Color="#000000000000" FullRevision="No" ID="13" Mark="*" Name="2nd Yellow Rev. (mm/dd/yy)" PageColor="#FDFDFFFFABAB" Style=""/>
+ <Revision Color="#000000000000" FullRevision="No" ID="14" Mark="*" Name="2nd Green Rev. (mm/dd/yy)" PageColor="#D1D1FEFED0D0" Style=""/>
+ <Revision Color="#000000000000" FullRevision="No" ID="15" Mark="*" Name="2nd Goldenrod Rev. (mm/dd/yy)" PageColor="#FAFACDCD3939" Style=""/>
+ <Revision Color="#000000000000" FullRevision="No" ID="16" Mark="*" Name="2nd Buff Rev. (mm/dd/yy)" PageColor="#FCFCEDED9D9D" Style=""/>
+ <Revision Color="#000000000000" FullRevision="No" ID="17" Mark="*" Name="2nd Salmon Rev. (mm/dd/yy)" PageColor="#F8F8AEAE8E8E" Style=""/>
+ <Revision Color="#000000000000" FullRevision="No" ID="18" Mark="*" Name="2nd Cherry Rev. (mm/dd/yy)" PageColor="#FBFBA4A4B4B4" Style=""/>
+ <Revision Color="#000000000000" FullRevision="No" ID="19" Mark="*" Name="2nd Tan Rev. (mm/dd/yy)" PageColor="#FDFDF1F1C7C7" Style=""/>
+ </Revisions>
+
+ <SplitState ActivePanel="1" SplitMode="None" SplitterPosition="0">
+ <ScriptPanel DisplayMode="Page">
+ <FontSpec AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Verdana" RevisionID="0" Size="9" Style=""/>
+ </ScriptPanel>
+ </SplitState>
+
+ <Macros>
+ <Macro Element="Scene Heading" Name="INT" Shortcut="Ctrl+Alt+1" Text="INT. " Transition="None">
+ <Alias Confirm="No" MatchCase="No" SmartReplace="Yes" Text="" WordOnly="No">
+ <ActivateIn Element="General"/>
+ <ActivateIn Element="Scene Heading"/>
+ <ActivateIn Element="Action"/>
+ <ActivateIn Element="Character"/>
+ <ActivateIn Element="Parenthetical"/>
+ <ActivateIn Element="Dialogue"/>
+ <ActivateIn Element="Transition"/>
+ <ActivateIn Element="Shot"/>
+ </Alias>
+ </Macro>
+ <Macro Element="Scene Heading" Name="EXT" Shortcut="Ctrl+Alt+2" Text="EXT. " Transition="None">
+ <Alias Confirm="No" MatchCase="No" SmartReplace="Yes" Text="" WordOnly="No">
+ <ActivateIn Element="General"/>
+ <ActivateIn Element="Scene Heading"/>
+ <ActivateIn Element="Action"/>
+ <ActivateIn Element="Character"/>
+ <ActivateIn Element="Parenthetical"/>
+ <ActivateIn Element="Dialogue"/>
+ <ActivateIn Element="Transition"/>
+ <ActivateIn Element="Shot"/>
+ </Alias>
+ </Macro>
+ <Macro Element="Scene Heading" Name="I/E" Shortcut="Ctrl+Alt+3" Text="I/E " Transition="None">
+ <Alias Confirm="No" MatchCase="No" SmartReplace="Yes" Text="" WordOnly="No">
+ <ActivateIn Element="General"/>
+ <ActivateIn Element="Scene Heading"/>
+ <ActivateIn Element="Action"/>
+ <ActivateIn Element="Character"/>
+ <ActivateIn Element="Parenthetical"/>
+ <ActivateIn Element="Dialogue"/>
+ <ActivateIn Element="Transition"/>
+ <ActivateIn Element="Shot"/>
+ </Alias>
+ </Macro>
+ <Macro Element="Scene Heading" Name="DAY" Shortcut="Ctrl+Alt+4" Text=" - DAY" Transition="Action">
+ <Alias Confirm="No" MatchCase="No" SmartReplace="Yes" Text="" WordOnly="No">
+ <ActivateIn Element="General"/>
+ <ActivateIn Element="Scene Heading"/>
+ <ActivateIn Element="Action"/>
+ <ActivateIn Element="Character"/>
+ <ActivateIn Element="Parenthetical"/>
+ <ActivateIn Element="Dialogue"/>
+ <ActivateIn Element="Transition"/>
+ <ActivateIn Element="Shot"/>
+ </Alias>
+ </Macro>
+ <Macro Element="Scene Heading" Name="NIGHT" Shortcut="Ctrl+Alt+5" Text=" - NIGHT" Transition="Action">
+ <Alias Confirm="No" MatchCase="No" SmartReplace="Yes" Text="" WordOnly="No">
+ <ActivateIn Element="General"/>
+ <ActivateIn Element="Scene Heading"/>
+ <ActivateIn Element="Action"/>
+ <ActivateIn Element="Character"/>
+ <ActivateIn Element="Parenthetical"/>
+ <ActivateIn Element="Dialogue"/>
+ <ActivateIn Element="Transition"/>
+ <ActivateIn Element="Shot"/>
+ </Alias>
+ </Macro>
+ <Macro Element="Scene Heading" Name="SUNRISE" Shortcut="Ctrl+Alt+6" Text=" - SUNRISE" Transition="Action">
+ <Alias Confirm="No" MatchCase="No" SmartReplace="Yes" Text="" WordOnly="No">
+ <ActivateIn Element="General"/>
+ <ActivateIn Element="Scene Heading"/>
+ <ActivateIn Element="Action"/>
+ <ActivateIn Element="Character"/>
+ <ActivateIn Element="Parenthetical"/>
+ <ActivateIn Element="Dialogue"/>
+ <ActivateIn Element="Transition"/>
+ <ActivateIn Element="Shot"/>
+ </Alias>
+ </Macro>
+ <Macro Element="Scene Heading" Name="MAGIC" Shortcut="Ctrl+Alt+7" Text=" - MAGIC" Transition="Action">
+ <Alias Confirm="No" MatchCase="No" SmartReplace="Yes" Text="" WordOnly="No">
+ <ActivateIn Element="General"/>
+ <ActivateIn Element="Scene Heading"/>
+ <ActivateIn Element="Action"/>
+ <ActivateIn Element="Character"/>
+ <ActivateIn Element="Parenthetical"/>
+ <ActivateIn Element="Dialogue"/>
+ <ActivateIn Element="Transition"/>
+ <ActivateIn Element="Shot"/>
+ </Alias>
+ </Macro>
+ <Macro Element="Parenthetical" Name="CONT" Shortcut="Ctrl+Alt+8" Text="continuing" Transition="Dialogue">
+ <Alias Confirm="No" MatchCase="No" SmartReplace="Yes" Text="" WordOnly="No">
+ <ActivateIn Element="General"/>
+ <ActivateIn Element="Scene Heading"/>
+ <ActivateIn Element="Action"/>
+ <ActivateIn Element="Character"/>
+ <ActivateIn Element="Parenthetical"/>
+ <ActivateIn Element="Dialogue"/>
+ <ActivateIn Element="Transition"/>
+ <ActivateIn Element="Shot"/>
+ </Alias>
+ </Macro>
+ <Macro Element="Parenthetical" Name="INTER" Shortcut="Ctrl+Alt+9" Text="interrupting" Transition="Dialogue">
+ <Alias Confirm="No" MatchCase="No" SmartReplace="Yes" Text="" WordOnly="No">
+ <ActivateIn Element="General"/>
+ <ActivateIn Element="Scene Heading"/>
+ <ActivateIn Element="Action"/>
+ <ActivateIn Element="Character"/>
+ <ActivateIn Element="Parenthetical"/>
+ <ActivateIn Element="Dialogue"/>
+ <ActivateIn Element="Transition"/>
+ <ActivateIn Element="Shot"/>
+ </Alias>
+ </Macro>
+ <Macro Element="None" Name="" Shortcut="Ctrl+Alt+0" Text="" Transition="None">
+ <Alias Confirm="No" MatchCase="No" SmartReplace="Yes" Text="" WordOnly="No">
+ <ActivateIn Element="General"/>
+ <ActivateIn Element="Scene Heading"/>
+ <ActivateIn Element="Action"/>
+ <ActivateIn Element="Character"/>
+ <ActivateIn Element="Parenthetical"/>
+ <ActivateIn Element="Dialogue"/>
+ <ActivateIn Element="Transition"/>
+ <ActivateIn Element="Shot"/>
+ </Alias>
+ </Macro>
+ <Macro Element="Transition" Name="CUTTO" Shortcut="Ctrl+Shift+Alt+1" Text="CUT TO:" Transition="Scene Heading">
+ <Alias Confirm="No" MatchCase="No" SmartReplace="Yes" Text="" WordOnly="No">
+ <ActivateIn Element="General"/>
+ <ActivateIn Element="Scene Heading"/>
+ <ActivateIn Element="Action"/>
+ <ActivateIn Element="Character"/>
+ <ActivateIn Element="Parenthetical"/>
+ <ActivateIn Element="Dialogue"/>
+ <ActivateIn Element="Transition"/>
+ <ActivateIn Element="Shot"/>
+ </Alias>
+ </Macro>
+ <Macro Element="Action" Name="FADEIN" Shortcut="Ctrl+Shift+Alt+2" Text="FADE IN:" Transition="Scene Heading">
+ <Alias Confirm="No" MatchCase="No" SmartReplace="Yes" Text="" WordOnly="No">
+ <ActivateIn Element="General"/>
+ <ActivateIn Element="Scene Heading"/>
+ <ActivateIn Element="Action"/>
+ <ActivateIn Element="Character"/>
+ <ActivateIn Element="Parenthetical"/>
+ <ActivateIn Element="Dialogue"/>
+ <ActivateIn Element="Transition"/>
+ <ActivateIn Element="Shot"/>
+ </Alias>
+ </Macro>
+ <Macro Element="Transition" Name="FADEOUT" Shortcut="Ctrl+Shift+Alt+3" Text="FADE OUT." Transition="Scene Heading">
+ <Alias Confirm="No" MatchCase="No" SmartReplace="Yes" Text="" WordOnly="No">
+ <ActivateIn Element="General"/>
+ <ActivateIn Element="Scene Heading"/>
+ <ActivateIn Element="Action"/>
+ <ActivateIn Element="Character"/>
+ <ActivateIn Element="Parenthetical"/>
+ <ActivateIn Element="Dialogue"/>
+ <ActivateIn Element="Transition"/>
+ <ActivateIn Element="Shot"/>
+ </Alias>
+ </Macro>
+ <Macro Element="Transition" Name="FADETO" Shortcut="Ctrl+Shift+Alt+4" Text="FADE TO:" Transition="Scene Heading">
+ <Alias Confirm="No" MatchCase="No" SmartReplace="Yes" Text="" WordOnly="No">
+ <ActivateIn Element="General"/>
+ <ActivateIn Element="Scene Heading"/>
+ <ActivateIn Element="Action"/>
+ <ActivateIn Element="Character"/>
+ <ActivateIn Element="Parenthetical"/>
+ <ActivateIn Element="Dialogue"/>
+ <ActivateIn Element="Transition"/>
+ <ActivateIn Element="Shot"/>
+ </Alias>
+ </Macro>
+ <Macro Element="Transition" Name="DISSLV" Shortcut="Ctrl+Shift+Alt+5" Text="DISSOLVE TO:" Transition="Scene Heading">
+ <Alias Confirm="No" MatchCase="No" SmartReplace="Yes" Text="" WordOnly="No">
+ <ActivateIn Element="General"/>
+ <ActivateIn Element="Scene Heading"/>
+ <ActivateIn Element="Action"/>
+ <ActivateIn Element="Character"/>
+ <ActivateIn Element="Parenthetical"/>
+ <ActivateIn Element="Dialogue"/>
+ <ActivateIn Element="Transition"/>
+ <ActivateIn Element="Shot"/>
+ </Alias>
+ </Macro>
+ <Macro Element="Transition" Name="BACKTO" Shortcut="Ctrl+Shift+Alt+6" Text="BACK TO:" Transition="Scene Heading">
+ <Alias Confirm="No" MatchCase="No" SmartReplace="Yes" Text="" WordOnly="No">
+ <ActivateIn Element="General"/>
+ <ActivateIn Element="Scene Heading"/>
+ <ActivateIn Element="Action"/>
+ <ActivateIn Element="Character"/>
+ <ActivateIn Element="Parenthetical"/>
+ <ActivateIn Element="Dialogue"/>
+ <ActivateIn Element="Transition"/>
+ <ActivateIn Element="Shot"/>
+ </Alias>
+ </Macro>
+ <Macro Element="Transition" Name="MATCHCUT" Shortcut="Ctrl+Shift+Alt+7" Text="MATCH CUT TO:" Transition="Scene Heading">
+ <Alias Confirm="No" MatchCase="No" SmartReplace="Yes" Text="" WordOnly="No">
+ <ActivateIn Element="General"/>
+ <ActivateIn Element="Scene Heading"/>
+ <ActivateIn Element="Action"/>
+ <ActivateIn Element="Character"/>
+ <ActivateIn Element="Parenthetical"/>
+ <ActivateIn Element="Dialogue"/>
+ <ActivateIn Element="Transition"/>
+ <ActivateIn Element="Shot"/>
+ </Alias>
+ </Macro>
+ <Macro Element="Transition" Name="JUMPCUT" Shortcut="Ctrl+Shift+Alt+8" Text="JUMP CUT TO:" Transition="Scene Heading">
+ <Alias Confirm="No" MatchCase="No" SmartReplace="Yes" Text="" WordOnly="No">
+ <ActivateIn Element="General"/>
+ <ActivateIn Element="Scene Heading"/>
+ <ActivateIn Element="Action"/>
+ <ActivateIn Element="Character"/>
+ <ActivateIn Element="Parenthetical"/>
+ <ActivateIn Element="Dialogue"/>
+ <ActivateIn Element="Transition"/>
+ <ActivateIn Element="Shot"/>
+ </Alias>
+ </Macro>
+ <Macro Element="Transition" Name="FBLACK" Shortcut="Ctrl+Shift+Alt+9" Text="FADE TO BLACK." Transition="None">
+ <Alias Confirm="No" MatchCase="No" SmartReplace="Yes" Text="" WordOnly="No">
+ <ActivateIn Element="General"/>
+ <ActivateIn Element="Scene Heading"/>
+ <ActivateIn Element="Action"/>
+ <ActivateIn Element="Character"/>
+ <ActivateIn Element="Parenthetical"/>
+ <ActivateIn Element="Dialogue"/>
+ <ActivateIn Element="Transition"/>
+ <ActivateIn Element="Shot"/>
+ </Alias>
+ </Macro>
+ <Macro Element="None" Name="" Shortcut="E" Text="" Transition="None">
+ <Alias Confirm="No" MatchCase="No" SmartReplace="Yes" Text="" WordOnly="No">
+ <ActivateIn Element="General"/>
+ <ActivateIn Element="Scene Heading"/>
+ <ActivateIn Element="Action"/>
+ <ActivateIn Element="Character"/>
+ <ActivateIn Element="Parenthetical"/>
+ <ActivateIn Element="Dialogue"/>
+ <ActivateIn Element="Transition"/>
+ <ActivateIn Element="Shot"/>
+ </Alias>
+ </Macro>
+ </Macros>
+
+ <Actors>
+ <Actor MacVoice="" Name="Man 1" Pitch="Normal" Speed="Medium" WinVoice=""/>
+ <Actor MacVoice="" Name="Man 2" Pitch="Normal" Speed="Medium" WinVoice=""/>
+ <Actor MacVoice="" Name="Woman 1" Pitch="Normal" Speed="Medium" WinVoice=""/>
+ <Actor MacVoice="" Name="Woman 2" Pitch="Normal" Speed="Medium" WinVoice=""/>
+ <Actor MacVoice="" Name="Boy 1" Pitch="Normal" Speed="Medium" WinVoice=""/>
+ <Actor MacVoice="" Name="Boy 2" Pitch="Normal" Speed="Medium" WinVoice=""/>
+ <Actor MacVoice="" Name="Girl 1" Pitch="Normal" Speed="Medium" WinVoice=""/>
+ <Actor MacVoice="" Name="Girl 2" Pitch="Normal" Speed="Medium" WinVoice=""/>
+ <Actor MacVoice="" Name="Old Man" Pitch="Normal" Speed="Medium" WinVoice=""/>
+ <Actor MacVoice="" Name="Old Woman" Pitch="Normal" Speed="Medium" WinVoice=""/>
+ </Actors>
+
+ <Cast>
+ <Narrator Actor="Man 1">
+ <Element Type="Character"/>
+ <Element Type="Dialogue"/>
+ </Narrator>
+ <Member Actor="" Character="James"/>
+ <Member Actor="" Character="Bill"/>
+ </Cast>
+
+ <SceneNumberOptions LeftLocation="0.75" RightLocation="7.38" ShowNumbersOnLeft="Yes" ShowNumbersOnRight="Yes">
+ <FontSpec AdornmentStyle="0" Background="#FFFFFFFFFFFF" Color="#000000000000" Font="Courier Final Draft" RevisionID="0" Size="12" Style=""/>
+ </SceneNumberOptions>
+
+ <CastList SortOption="Alphabetical">
+ <CustomOrder/>
+ </CastList>
+
+ <CharacterHighlighting>
+ <Character Color="#FFFFFFFFFFFF" Name="J" Visible="No"/>
+ <Character Color="#FFFFFFFFFFFF" Name="JA" Visible="No"/>
+ <Character Color="#FFFFFFFFFFFF" Name="JAM" Visible="No"/>
+ <Character Color="#FFFFFFFFFFFF" Name="JAME" Visible="No"/>
+ <Character Color="#FFFFFFFFFFFF" Name="JAMES" Visible="No"/>
+ <Character Color="#FFFFFFFFFFFF" Name="B" Visible="No"/>
+ <Character Color="#FFFFFFFFFFFF" Name="BI" Visible="No"/>
+ <Character Color="#FFFFFFFFFFFF" Name="BIL" Visible="No"/>
+ <Character Color="#FFFFFFFFFFFF" Name="BILL" Visible="No"/>
+ </CharacterHighlighting>
+
+ <CharacterNavigatorPreferences IsSortAscending="Yes" SortColumn="Order"/>
+
+</FinalDraft>
View
35 src/ScriptSchedule/core.clj
@@ -101,13 +101,13 @@
(new-scene set character dialogs number page ""))
([set character dialogs number page notes]
- (let [scene {:set set
+ (let [scene {:set set
:character character
- :dialogs dialogs
- :scene number
- :page page
- :notes notes
- :title ""}]
+ :dialogs dialogs
+ :scene number
+ :page page
+ :notes notes
+ :title ""}]
scene)))
(defn merge-scene [scenes scene]
@@ -192,9 +192,30 @@
(> dialogs 1)
(empty? notes))))
+(defn should-warn-empty-scene [scene]
+ (empty? (:set scene)))
+
+(defn should-warn-no-dialogs [scene]
+ (zero? (:dialogs scene)))
+
+(defn should-warn-no-scene-number [scene]
+ (empty? (:scene scene)))
+
(defn make-warning [scene]
- (if (should-warn-dialogs-no-actions scene)
+ (cond
+ (should-warn-no-scene-number scene)
+ {:warning :no-scene-number :page (:page scene)}
+
+ (should-warn-no-dialogs scene)
+ {:warning :no-dialogs :scene (:scene scene) :page (:page scene)}
+
+ (should-warn-dialogs-no-actions scene)
{:warning :multiple-dialogs-without-notes :scene (:scene scene) :page (:page scene) :dialogs (:dialogs scene)}
+
+ (should-warn-empty-scene scene)
+ {:warning :empty-scene :page (:page scene) :scene (:scene scene)}
+
+ :default
nil))
(defn make-warnings
View
141 test/ScriptSchedule/test/core.clj
@@ -69,23 +69,23 @@
(fact (to-scene-line simple-scene) => "GS\tUNCLE BOB\t2\t4\t2\t\t")
(defn parsed-finalDraft [content]
- {:tag :FinalDraft,
- :attrs {:DocumentType "Script",
- :Template "No",
- :Version "1"},
- :content [{:tag :Content,
- :attrs nil,
+ {:tag :FinalDraft,
+ :attrs {:DocumentType "Script",
+ :Template "No",
+ :Version "1"},
+ :content [{:tag :Content,
+ :attrs nil,
:content content}]})
(defn parsed-scene-raw [set scene page]
- {:tag :Paragraph,
- :attrs {:Number scene,
- :Type "Scene Heading"},
- :content [{:tag :SceneProperties,
- :attrs {:Page page},
+ {:tag :Paragraph,
+ :attrs {:Number scene,
+ :Type "Scene Heading"},
+ :content [{:tag :SceneProperties,
+ :attrs {:Page page},
:content nil}
- {:tag :Text,
- :attrs nil,
+ {:tag :Text,
+ :attrs nil,
:content [set]}]})
(defn parsed-scene [set scene page]
@@ -95,47 +95,47 @@
{:tag tag, :attrs nil, :content nil})
(defn parsed-action [action]
- {:tag :Paragraph,
- :attrs {:Type "Action"},
- :content [{:tag :Text,
- :attrs nil,
+ {:tag :Paragraph,
+ :attrs {:Type "Action"},
+ :content [{:tag :Text,
+ :attrs nil,
:content [action]}]})
(defn parsed-double-action [action1 action2]
- {:tag :Paragraph,
- :attrs {:Type "Action"},
- :content [{:tag :Text,
- :attrs nil,
+ {:tag :Paragraph,
+ :attrs {:Type "Action"},
+ :content [{:tag :Text,
+ :attrs nil,
:content [action1]}
- {:tag :Text,
- :attrs nil,
+ {:tag :Text,
+ :attrs nil,
:content [action2]}]})
(defn parsed-actor [character]
- {:tag :Paragraph,
- :attrs {:Type "Character"},
- :content [{:tag :Text,
- :attrs nil,
+ {:tag :Paragraph,
+ :attrs {:Type "Character"},
+ :content [{:tag :Text,
+ :attrs nil,
:content [character]}]})
(defn parsed-continued-actor [character]
- {:tag :Paragraph,
- :attrs {:Type "Character"},
- :content [{:tag :Text,
- :attrs nil,
+ {:tag :Paragraph,
+ :attrs {:Type "Character"},
+ :content [{:tag :Text,
+ :attrs nil,
:content [(str character " (")]}
- {:tag :Text,
- :attrs {:AdornmentStyle "-1"},
+ {:tag :Text,
+ :attrs {:AdornmentStyle "-1"},
:content ["CONT�D"]}
- {:tag :Text,
- :attrs nil,
+ {:tag :Text,
+ :attrs nil,
:content [")"]}]})
(defn parsed-dialog [dialog]
- {:tag :Paragraph,
- :attrs {:Type "Dialogue"},
- :content [{:tag :Text,
- :attrs nil,
+ {:tag :Paragraph,
+ :attrs {:Type "Dialogue"},
+ :content [{:tag :Text,
+ :attrs nil,
:content [dialog]}]})
(def parsed-script
@@ -243,31 +243,31 @@
(build-scenes-from-script-xml
(parsed-finalDraft
[(parsed-scene "WSL" 2 1)])) => [{:character "", :dialogs 0, :notes "",
- :page 1, :scene 2, :set "WSL", :title ""}])
+ :page 1, :scene 2, :set "WSL", :title ""}])
(fact "a script with two scene headings yeilds two scenes"
(build-scenes-from-script-xml
(parsed-finalDraft
[(parsed-scene "WSL" 2 1)
(parsed-scene "WSR" 3 2)])) => [{:character "", :dialogs 0, :notes "",
- :page 1, :scene 2, :set "WSL", :title ""}
+ :page 1, :scene 2, :set "WSL", :title ""}
{:character "", :dialogs 0, :notes "",
- :page 2, :scene 3, :set "WSR", :title ""}])
+ :page 2, :scene 3, :set "WSR", :title ""}])
(fact "a script with a scene head and an actor yeilds an acted scene"
(build-scenes-from-script-xml
(parsed-finalDraft
[(parsed-scene "WSL" 2 1)
(parsed-actor "UB")])) => [{:character "UB", :dialogs 1, :notes "",
- :page 1, :scene 2, :set "WSL", :title ""}])
+ :page 1, :scene 2, :set "WSL", :title ""}])
(fact "a script with more than one actor in a scene will count dialogs"
(build-scenes-from-script-xml
(parsed-finalDraft
[(parsed-scene "WSL" 2 1)
(parsed-actor "UB")
(parsed-continued-actor "UB")])) => [{:character "UB", :dialogs 2, :notes "",
- :page 1, :scene 2, :set "WSL", :title ""}]))
+ :page 1, :scene 2, :set "WSL", :title ""}]))
(facts "action notes"
(fact "a script with a simple action in a scene has no effect"
@@ -276,23 +276,23 @@
[(parsed-scene "WSL" 2 1)
(parsed-actor "UB")
(parsed-action "some action")])) => [{:character "UB", :dialogs 1, :notes "",
- :page 1, :scene 2, :set "WSL", :title ""}])
+ :page 1, :scene 2, :set "WSL", :title ""}])
(fact "a script with a simple note action in a scene adds the note"
(build-scenes-from-script-xml
(parsed-finalDraft
[(parsed-scene "WSL" 2 1)
(parsed-actor "UB")
(parsed-action "Note: a")])) => [{:character "UB", :dialogs 1, :notes "a",
- :page 1, :scene 2, :set "WSL", :title ""}])
+ :page 1, :scene 2, :set "WSL", :title ""}])
(fact "a script with a complex note action in a scene adds the note"
(build-scenes-from-script-xml
(parsed-finalDraft
[(parsed-scene "WSL" 2 1)
(parsed-actor "UB")
(parsed-action "Note: a Some Note")])) => [{:character "UB", :dialogs 1, :notes "a",
- :page 1, :scene 2, :set "WSL", :title ""}])
+ :page 1, :scene 2, :set "WSL", :title ""}])
(fact "a script with several note actions in a scene adds the notes"
(build-scenes-from-script-xml
@@ -301,34 +301,57 @@
(parsed-actor "UB")
(parsed-action "Note: a Some Note")
(parsed-action "note: b some other note")])) => [{:character "UB", :dialogs 1, :notes "a,b",
- :page 1, :scene 2, :set "WSL", :title ""}])
+ :page 1, :scene 2, :set "WSL", :title ""}])
(fact "a script with a title action in a scene sets the title"
(build-scenes-from-script-xml
(parsed-finalDraft
[(parsed-scene "WSL" 2 1)
(parsed-actor "UB")
(parsed-action "Title: some title")])) => [{:character "UB", :dialogs 1, :notes "",
- :page 1, :scene 2, :set "WSL", :title "some title"}]))
+ :page 1, :scene 2, :set "WSL", :title "some title"}]))
(facts "warnings"
(fact "a script with more than one actor but with no action notes will create a warning"
(let [scenes (build-scenes-from-script-xml
(parsed-finalDraft
- [(parsed-scene "WSL" 2 1)
+ [(parsed-scene "WSL" "2" "1")
(parsed-actor "UB")
(parsed-actor "BU")]))
warnings (make-warnings scenes)]
- warnings => [{:warning :multiple-dialogs-without-notes :scene 2 :page 1 :dialogs 2}]))
+ warnings => [{:warning :multiple-dialogs-without-notes :scene "2" :page "1" :dialogs 2}]))
(fact "a script with more than one actor and with action notes will not create a warning"
- (let [scenes (build-scenes-from-script-xml
- (parsed-finalDraft
- [(parsed-scene "WSL" 2 1)
- (parsed-actor "UB")
- (parsed-actor "BU")
- (parsed-action "Note: a Some Note")]))
- warnings (make-warnings scenes)]
- warnings => []))
+ (let [scenes (build-scenes-from-script-xml
+ (parsed-finalDraft
+ [(parsed-scene "WSL" "2" "1")
+ (parsed-actor "UB")
+ (parsed-actor "BU")
+ (parsed-action "Note: a Some Note")]))
+ warnings (make-warnings scenes)]
+ warnings => []))
+
+ (fact "a scene with no location will create a warning"
+ (let [scenes (build-scenes-from-script-xml
+ (parsed-finalDraft
+ [(parsed-scene "" "2" "1")
+ (parsed-actor "UB")]))
+ warnings (make-warnings scenes)]
+ warnings => [{:warning :empty-scene :scene "2" :page "1"}]))
+
+ (fact "a scene with no dialogs will create a warning"
+ (let [scenes (build-scenes-from-script-xml
+ (parsed-finalDraft
+ [(parsed-scene "WSL" "2" "1")]))
+ warnings (make-warnings scenes)]
+ warnings => [{:warning :no-dialogs :scene "2" :page "1"}]))
+
+ (fact "a scene with no scene number will create a warning"
+ (let [scenes (build-scenes-from-script-xml
+ (parsed-finalDraft
+ [(parsed-scene "WSL" "" "1")
+ (parsed-actor "UB")]))
+ warnings (make-warnings scenes)]
+ warnings => [{:warning :no-scene-number :page "1"}]))
)
(defn to-scene-lines [file-name]

0 comments on commit c2f4a49

Please sign in to comment.