1"""Cold-open a notebook of themed pages in OneNote 2010 and capture what it draws and
2reports of each page's styles.
3
4Usage: native_styles.py NOTEBOOK_DIR OUTPUT_DIR
5"""
6import sys
7from pathlib import Path
8
9sys.path.insert(0, str(Path(__file__).resolve().parent))
10import native_runner as runner
11
12if __name__ == '__main__':
13 notebook, output = Path(sys.argv[1]), Path(sys.argv[2])
14 runner.capture(notebook, output, expected_pages=4, author=Path(__file__).resolve().parent / 'native/styles.ps1',
15 screenshots=True, collect_notebook=True)