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 eclipsec.exe on Windows and eclipse on Mac OS X and Linux. If you are using standalone version of WireframeSketcher then the executable is named WireframeSketcher.exe and WireframeSketcher accordingly.

To export an entire directory of screens to image use:

eclipsec -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:

eclipsec -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:
eclipsec -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)
  -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)
  -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