Command Line

You can use WireframeSketcher executable to automate the exporting of your screens and storyboards, or to create launchers with command line options. The executable that you launch and pass options to is:

If you are using an Eclipse IDE then the executable is named eclipsec.exe and eclipse accordingly.

Here’s the 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

Command line export examples

Export an entire directory of screens to image

On Windows use the following command:

WireframeSketcherc.exe -application com.wireframesketcher.ui.screenExport ^
 -data %USERPROFILE%\WireframeSketcher ^
 -noSplash ^
 -source %USERPROFILE%\WireframeSketcher\wireframing-tutorial ^
 -dest %USERPROFILE%\export ^
 -format PNG

On macOS use:

/Applications/WireframeSketcher.app/Contents/MacOS/WireframeSketcher -application com.wireframesketcher.ui.screenExport \
 -data ~/Documents/WireframeSketcher \
 -noSplash \
 -source ~/Documents/WireframeSketcher/wireframing-tutorial \
 -dest /tmp \
 -format PNG

On Linux use:

/opt/WireframeSketcher/WireframeSketcher -application com.wireframesketcher.ui.screenExport \
 -data ~/WireframeSketcher \
 -noSplash \
 -source ~/WireframeSketcher/wireframing-tutorial \
 -dest /tmp \
 -format PNG
Export a single screen to PDF

On Windows use the following command:

WireframeSketcherc.exe -application com.wireframesketcher.ui.screenExport ^
 -data %USERPROFILE%\WireframeSketcher ^
 -noSplash ^
 -source %USERPROFILE%\WireframeSketcher\wireframing-tutorial\Mockup.screen ^
 -dest %USERPROFILE%\export ^
 -format PDF

On macOS use:

/Applications/WireframeSketcher.app/Contents/MacOS/WireframeSketcher -application com.wireframesketcher.ui.screenExport \
 -data ~/Documents/WireframeSketcher \
 -noSplash \
 -source ~/Documents/WireframeSketcher/wireframing-tutorial/Mockup.screen \
 -dest /tmp \
 -format PDF

On Linux use:

/opt/WireframeSketcher/WireframeSketcher -application com.wireframesketcher.ui.screenExport \
 -data ~/WireframeSketcher \
 -noSplash \
 -source ~/WireframeSketcher/wireframing-tutorial/Mockup.screen \
 -dest /tmp \
 -format PDF

Next: Presenting your Work