Command Line

You can use command line to automate the exporting of your screens and storyboards. The executable that you launch and pass options to is WireframeSketcher.exe on Windows and WireframeSketcher on Mac OS X and Linux. If you are using an Eclipse IDE then the executable is named eclipsec.exe and eclipse accordingly.

To export an entire directory of screens to image use:

WireframeSketcher -application com.wireframesketcher.ui.screenExport \
 -data c:\eclipse\workspace \
 -noSplash
 -source c:\eclipse\workspace\mockups \
 -dest c:\mockups
 -format PNG

To export a single screen to PDF use:

WireframeSketcher -application com.wireframesketcher.ui.screenExport \
 -data c:\eclipse\workspace \
 -noSplash
 -source c:\eclipse\workspace\mockups\Mockup.screen \
 -dest c:\mockups
 -format PDF

Here’s a complete list of command line options:

Usage:
WireframeSketcher -application com.wireframesketcher.ui.screenExport \
  -data WORKSPACE_DIR \
  -noSplash \
  -source FILE \
  -dest FILE

Options:
  -source FILE                                   Source file or directory
  -dest FILE                                     Destination directory
  -format PNG|PDF|HTML                           Export format (defaults to PNG)
  -scale PERCENTS                                PNG image scale factor
                                                 (defaults to 100%)
  -pdf optimize|fitpage                          Optimize PDF for viewing or
                                                 fit a specified page size
                                                 (defaults to fitpage)
  -pageSize A2|A3|A4|A5|Legal|Letter|Tabloid     PDF page size (defaults to A4)
  -orientation auto|portrait|landscape           PDF page orientation (defaults
                                                 to auto)
  -theme clean|sketch                            Default theme (overrides the
                                                 default theme preference)
  -exportScreenflow                              Export screen flow in
                                                 multi-page PDFs
  -highlightLinks                                Highlight links in multi-page
                                                 PDFs and HTML
  -hideAnnotations                               Hide annotations
  -usage                                         Show this message

Next: Presenting your Work