Skip to content

isabella232/generator-panels

 
 

Repository files navigation

generator-panels

This repo contains the source for two extension panels for Photoshop, Generator Configuration and Generator Layer Names. Both of these panels are implemented using the new CEP5 Extension Framework, and require Photoshop CC 2015 to run.

The Generator Configuration panel lets you easily change the configuration options for the Generator Assets plugin that ships with Photoshop.

The Generator Layer Names panel lets you easily change the suffix, scale, size and folder parameters of the selected layers in Photoshop. This is an easy way to update existing Photoshop design files to take advantage of Generator to export assets.

Installation

The release version of the Generator Configuration panel is available directly for free from the Adobe Add-ons site. The Generator Layer Names panel is also now available from the Add-ons site as well.

Full source code is provided for both panels. At the top level, a Python script, installPanels.py provides tools for installing, testing and packaging the panels. Windows users will need to install Python 2.7. Packaging the panels into signed .zip files requires installing the ZXPSignCmd command-line tool. This is found on the Extension Builder Toolkit download page, near the bottom under the "Download CC Extensions for Signing" links.

The simplest way to start using the panels from the source code is to run:

installPanels.py
installPanels.py -d on

to run the panels in debug mode. Turning on debug mode allows unsigned panels to run. After you re-launch Photoshop, the panels should appear in the Windows > Extensions menu.

Third-Party Code

License

(MIT License)

Copyright (c) 2013-2014 Adobe Systems Incorporated. All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

CEP-based panels supporting generator.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 54.4%
  • JavaScript 34.1%
  • Python 7.3%
  • HTML 4.0%
  • Batchfile 0.2%