Scripts

Toggle Layer Visibility (by name)

Overview:

  • This script toggles visibility of layers with a specific prefix

../_images/02_2.gif

Usage:

Advanced:

By default the script will ignore layers with color labels (I use this to have different perspective grids and sketch layers in a document), this option can be turned off in settings: use the Toggletator Settings script to change it and modify prefixes;


Toggle Layer Visibility (by color label)

Overview:

  • This script toggles visibility of layers with a specific color label

../_images/labels.gif

Usage:

Advanced:

Use the Toggletator Settings script to change the color label to toggle;


Toggle Active Layers

Overview:

  • This script toggles visibility of selected layers.
    • This is useful to switch between two versions of a layer/groups of layers;

    • To check how layers or selected adjustment layers are affecting the lower layers;

../_images/03_2.gif

Usage:


Toggle Inactive Layers

Overview:

  • This script toggles visibility of layers that aren’t selected (that are currently visible).
    • This is useful to check specific layers without context;

    • To find hidden layers in the document;

Usage:


Toggle Channel Visibility

Overview:

  • This script toggles visibility of channels with specific prefix.

../_images/04_2.gif

Usage:

Advanced:

  • Having a channel is useful if working with several windows of one document:

  • Channels may be visible only in one window;

  • Eyedropper or Mixer Brush won’t pick occasional line art or grid colors from channels;

  • To change the prefixes, modify the settings via the Toggletator Settings.


Cycle Between Channels Visibility

Overview:

  • Similar to Toggle Channel Visibility, this script will cycle though visibility of specific channels;

Usage:


Toggle Zoom

Overview:

  • This script toggles between two zoom levels;

  • It only works in Photoshop versions from CC2015;

../_images/05_2.gif

Usage:

Advanced:

  • with a Smart Zoom option turned ON Toggle Zoom will toggle between two last used zoom extremes. For example, you were at 25% zoom, calling the function will zoom to 300%. Next time you call the function, you’ll unzoom back to 25%. If you unzoom to 16.67%, first call bring you back to 300%, second — to 16.67%.

  • with a Smart Zoom option set to OFF Toggle Zoom will toggle zoom between current zoom value and value from Toggle to zoom option (default is 25%). Yes, I used a word zoom 5 times in this sentence.


Toggle Flip

Overview:

  • This script flips view or canvas horizontally (by default) or canvas vertically while maintaining visual center of the document;

  • It only works in Photoshop versions from CC2015;

../_images/flip.gif

Usage:

Advanced:

  • Set Type of flip option to set flipping canvas horizontally/vertically or flip view horizontally (CC2019+);

  • if you’re using a HDPI display (4K, 5K, Retina display on Mac), change Display Scale Factor option to the value of your zoom factor. For Mac Retina it’s 200. For Windows get a percent value from Display Settigns;

  • By default the visual center of the document is located in the center of the active window but it’s possible to shift it using Offset Center values: for instance if you work on a particular side of a screen in Fullscreen mode;

  • Since it’s impossible to set rotation of a document using a script, document rotation will be reseted.


Toggle Brush Blend Mode

Overview:

  • This script toggles Brush Tool between two defined blend modes;

  • Basic usecase would be Normal and Erase (defaul settings);

  • If current tool isn’t a Brush Tool, Brush Tool will be selected;

  • It only works in Photoshop versions from CC2014;

../_images/blend.gif

Usage:


Toggle Brush Color Dynamics

Overview:

  • This script toggles Color Dynamics with particular settings on and off;

  • If current tool isn’t a Brush Tool, Brush Tool will be selected;

  • It only works in Photoshop versions from CC2014;

../_images/dyn.gif

Usage:


Toggle Brush Tilt Control

Overview:

  • This script toggles Angle Control in Shape Dynamics setting of a brush between two defined options;

  • The default setting toggles between current brush Angle and Pen Tilt;

  • If current tool isn’t a Brush Tool, Brush Tool will be selected;

  • It only works in Photoshop versions from CC2015;

../_images/tilt.gif

Usage:


Toggle Brush Size Control

Overview:

  • This script toggles Size Control in Shape Dynamics setting of a brush between two defined options;

  • The default setting toggles between Pen Pressure and Off;

  • If current tool isn’t a Brush Tool, Brush Tool will be selected;

  • It only works in Photoshop versions from CC2015;


Toggle Brush Opacity Control

Overview:

  • This script toggles Opacity Control in Transfer setting of a brush between two defined options;

  • The default setting toggles between Pen Pressure and Off;

  • There’s also an option to disable Flow Control when the setting is set to Off to make sure nothing adds to the transparency of the preset;

  • If current tool isn’t a Brush Tool, Brush Tool will be selected;

  • It only works in Photoshop versions from CC2015;


Toggle Sample All Setting

Overview:

  • This script toggles Sample All setting for tools that support it (Mixer Brush, Healing Brush, etc);

  • It only works in Photoshop versions from CC2015;


Toggle Between 2 Presets

Overview:

  • This script toggles between 2 predefined brush or tool presets;

  • It only works in Photoshop versions from CC2015;

  • Set the preset names and types in the settings;

Note that Photoshop doesn’t require unique names for brush presets so it’s possible to have several presets with the same name. In this case a wrong preset could be selected. If you’re getting a non-expected brush selected, try renaming the desired preset to something unique-looking;