# @pklaschka/xd-panel-screenshot [![NPM version](https://badge.fury.io/js/%40pklaschka%2Fxd-panel-screenshot.svg)](https://npmjs.org/package/@pklaschka/xd-panel-screenshot)

> A tool to automate taking screenshots of panel plugins for Adobe XD

:warning: Please note that right now, this tool only supports Windows machines.
I'd be happy to accept any pull requests expanding support in that area, though.

## Installation

```sh
$ npm install --global @pklaschka/xd-panel-screenshot
```

## Usage

1. Open your plugin's panel inside an Adobe XD window
2. Run
   ```sh
   $ xd-panel-screenshot
   ```
3. Follow the instructions (focus on the XD window)
4. Let the tool do it's magic
5. Find a perfect screenshot of your panel in the directory that you executed
   that command in.

## License

MIT © [Pablo Klaschka](https://github.com/pklaschka)
