Skip to content

A Photoshop plugin to automatically replace texts, crop and save custom app screenshots for application stores

License

Notifications You must be signed in to change notification settings

mrcendre/screenshots-utility

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Screenshots Utility

The plugin's user interface

Introduction

Screenshots Utility is an UXP plugin automates a lot of redundant work when manually localizing, cropping and saving multiple screenshots from a single Photoshop© composition.

Replace texts by their localized counterparts, crop and save screenshots in a single click.

Installation

You can either install the plugin's latest packaged version, or install it in debug mode.

Packaged plugin

  1. Go to the Release page and download the plugin's latest version.

  2. Open the .ccx file. This will open the Creative Cloud app and prompt you to install the plugin.

Note: You may need to ignore warnings about unverified extensions, since it is not published on the marketplace.

Develop

  1. Download the plugin's source code

  2. Install and open the Adobe UXP Developer Tools

  3. Click on the "Add Plugin" button

  4. Select the manifest.json file at the project's root. This will create a new row for the plugin.

  5. Within that row, click the "Load" button, or "Load & Watch" if you want to make live modifications to the plugin.

Usage

Most of the plugin's features are based on the number of screenshots you are expecting to output from your composition. Use the text field to specify how many screenshots you want to create.

The final screenshot size is dynamically calculated and displayed in the plugin's panel, so you can make sure it matches the application store's screenshot size specifications, for the Apple App Store or the Google Play Store for example.

Design

The "Create Guides" feature automatically creates guides for each screenshot, based on the number of screenshots you want to output.

This is very useful to help you align your content across the various expected screenshots bounds and to project how your composition will be cropped.

Localization

  1. Localizations must be written in a JSON file complying with the structure below.

    {
      "<language_code>": {
        "<key>": "<localized_text>",
        ...
      }
    }

    Bold portions of localized texts may be specified using the ** delimiter. For example :

    {
      "en": {
        "hello_world": "Hello world",
        "tagline": "**The ultimate** application"
      },
      "fr": {
        "hello_world": "Bonjour monde",
        "tagline": "L'appliction **ultime**"
      },
      "ja": {
        "hello_world": "こんにちは世界",
        "tagline": "**究極**アプリ"
      }
    }
  2. Load the file with the appropriate localizations from the extension's panel using the "Load strings" button.

  3. Select the language in which you want to localize the text layers.

  4. Ensure all text layers to localize are named with the key name surrounded with square brackets, eg. [hello_world] or [tagline] to use the localization from the above example. The plugin requires this specific naming convention for text layers to detect how to localize which layer. Localization will not work if the layers are not named correctly.

  5. Click "Localize" and watch the magic happen.

Cropping and saving

  1. Ensure the composition's width is a multiple of the final screenshot's expected width, since the plugin will perform a simple division to crop the screenshots.

  2. Ensure the number of screenshots to output is correct (eg. 5 screenshots from a 5000px wide composition will result in 1000px wide screenshots).

  3. Click "Crop & Save", select the output folder and watch the magic happen.

Compatibility

This plugin was developed and tested on Photoshop 2024 (version 23.0.0).

Roadmap

  • Automatically create guides
  • Load localizations from a JSON file
  • Find and replace text content for layers named [<key>]
  • Support bold text in localizations using the ** delimiter
  • Automatically crop and save screenshots as high quality JPEG
  • Select a specific destination folder for the output files
  • Support for multiple text fonts (currently hardcoded to the San Francisco font)
  • Dynamically replace embedded app screenshots with localized versions

Documentation

  • Read more about creating and debugging plugins using the UDT application here.
  • We build on this starter template and show you how to edit a document and write a file using UXP.

Credits

This plugin was developed with ♥ by @mrcendre.

About

A Photoshop plugin to automatically replace texts, crop and save custom app screenshots for application stores

Resources

License

Stars

Watchers

Forks

Packages

No packages published