# Auto-export option when saving an aseprite file

**URL:** https://community.aseprite.org/t/auto-export-option-when-saving-an-aseprite-file/8047
**Category:** Features
**Created:** [January 31, 2021, 7:29pm UTC](https://community.aseprite.org/t/auto-export-option-when-saving-an-aseprite-file/8047 "2021-01-31T19:29:17Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![Vee](https://community.aseprite.org/user_avatar/community.aseprite.org/vee/32/2598_2.png) [@Vee](https://community.aseprite.org/u/Vee)
#### Post date: [February 6, 2021, 8:32pm UTC](https://community.aseprite.org/t/auto-export-option-when-saving-an-aseprite-file/8047/4 "2021-02-06T20:32:12Z")

</div>

I went ahead and wrote a quick script for you that will save your current workspace as is, and as a png!  
It’s now part of my script collection on github, [**Asepritely**](https://github.com/iiviigames/Asepritely), and is called `Export PNG on Save.lua`. You can download just that one, or the whole repo!

There are general instructions on how to use scripts in Aseprite on the readme in that link. But, to use this script as I think you want to, you should bind it to a keyboard shortcut. You can do this by:

- Clicking Edit `->` Keyboard Shortcuts
- In the window that opens, you’ll be in the **Menu** section, and just toward the bottom, you’ll see any and all scripts you have in your scripts folder listed.
- Choose the one you want to assign a keyboard shortcut, and set it as you see fit!

> _I recommend: Ctrl + Alt + Shift + S_

---

_[View the full topic](https://community.aseprite.org/t/auto-export-option-when-saving-an-aseprite-file/8047)._
