Photoshop Reference
This page describes built-in Touch Portal Photoshop actions, events and states. For other automation options, see the Touch Portal Capability Model.
Photoshop Actions
Bring Photoshop To The Front
This action allows you to bring the Photoshop window to the front
Action
3.0
Available since
Set Tool
Action settings
Tool
The Tool to set as the active tool in Photoshop
This action allows you to select a tool in Photoshop
Action
3.0
Available since
Cycle Current Tools Group
This action allows you to cycle through the tools in the current selected group of tools.
Action
3.0
Available since
Set Main Working Color
Action settings
Type
Choose between the background color or the foreground color
Color
The actual color to set
This action allows you to set the main working color in Photoshop.
Note: Touch Portal executes scripts through the remote control system of Photoshop, this means that if you want to change both colors it will execute the script twice with a given delay. If you want to set both the background and the foreground color at once, use the set-both-working-colors action instead.
Action
3.0
Available since
Set Both Main Working Colors
Action settings
Foreground Color
The color to be set as the foreground color in Photoshop
Background Color
The color to be set as the background color in Photoshop
With this action you set both colors in one go.
Note: This action has better performance in comparison with using two separate actions for changing both the foreground and the background colors.
Action
3.0
Available since
Add New Layer
With this action you can add a new layer in Photoshop
Action
3.0
Available since
Set Visibility Current Layer
Action settings
Action
Show, Hide or Toggle the visibility of the layer
With this action you can set the visibility to show or hide. You can also toggle the state.
Action
3.0
Available since
Lock / Unlock Current Layer
Action settings
Action
Lock or Unlock the layer
With this action you can lock and unlock the current layer
Action
3.0
Available since
Set Opacity Current Layer
Action settings
Opacity
The percentage of the opacity
With this action you can set the opacity of the current layer
Action
3.0
Available since
Set Fill Current Layer
Action settings
Fill
The percentage of the fill
With this action you can set the fill of the current layer
Action
3.0
Available since
Set Blendmode Current Layer
Action settings
Blendmode
The blendmode to set for the current layer.
With this action you can set the blendmode of the current layer
Action
3.0
Available since
Set Text Content Current Layer
Action settings
Text
The text to set on the current selected Text Layer
With this action you can set the text of the current selected Text layer
Action
3.0
Available since
Deselect All Selected Layers
With this action you can deselect all selected layer
Action
3.0
Available since
Remove Current Selected Layer
With this action you can remove the selected layer.
Action
3.0
Available since
Set Current Brush Radius (smart)
Action settings
Radius
The radius of the selected Brush should be set to.
With this action you can set the radius of the currently selected Brush
Action
3.0
Available since
Set Current Brush Hardness (smart)
Action settings
Radius
The hardness of the selected Brush should be set to.
With this action you can set the hardness of the currently selected brush
Action
3.0
Available since
Resize Image
Action settings
Width
The new width of the image
Height
The new height of the image
With this action you can change the image size of the image.
Action
3.0
Available since
Resize Canvas
Action settings
Width
The new width of the image
Height
The new height of the image
Anchor
The anchor point from which you want to resize the canvas.
With this action you can change the canvas size of the image.
Action
3.0
Available since
Trim Image
Action settings
Top
Option to include the top of the image for trimming.
Right
Option to include the right of the image for trimming.
Bottom
Option to include the bottom of the image for trimming.
Left
Option to include the left of the image for trimming.
This allows you to trim the image on four sides by removing the transparent colums or rows.
Note: Trimming is done with only full rows or columns of fully transparent visible pixels. If hidden layers have non-transparent pixels they will be cut from the image.
Action
4.0
Available since
Execute Custom Photoshop Script
Action settings
Script
The script to be passed to Photoshop to execute
This action allows you to write your own script and execute it within Photoshop
Note: Documentation for Photoshop scripting can be found here: https://helpx.adobe.com/photoshop/using/scripting.html
Action
4.0
Available since
Photoshop Events
When Tool Changes
Event settings
Comparator
how to compare the new selected tool against the given tool
Tool
The tool to compare the new selected tool with using the comparator
This events allows you to listen to when the tool is changed
Event
3.0
Available since
When Current Tool Radius Changes
Event settings
Comparator
How to compare the new selected radius against the given radius
Tool
The radius to compare the new selected radius with using the comparator
This events allows you to listen to when the radius is changed
Event
3.0
Available since
When Current Tool Hardness Changes
Event settings
Comparator
How to compare the new selected hardness against the given hardness
Tool
The hardness to compare the new selected hardness with using the comparator
This events allows you to listen to when the hardness of a brush is changed
Event
3.0
Available since
When Current Layer Visibility Changes
Event settings
State
The visibility of the layer to check for.
This events allows you to listen to when the current layer becomes visible or hidden
Event
3.0
Available since
When Current Layer Locked State Changes
Event settings
State
The locked state of the layer to check for.
This events allows you to listen to when the current layer becomes locked or unlocked
Event
3.0
Available since