myActions, Power to the ActionsPalette

Upload Photoshop Scripts, download Photoshop Scripts, Discussion and Support of Photoshop Scripts

Moderators: Tom, Kukurykus

Timo Autiokari

myActions, Power to the ActionsPalette

Post by Timo Autiokari »

myActions script rotates a predefined group of your Action Sets in the Action Palette. It is easily operated from an Action button.

You define the Action Sets that you want to include to the rotation by editing a list in the 'myActions_main.jsx' script, as an example:

Code: Select allvar actionSets = new Array( "Main Workflow" , "Text" , "Grayscale" , "Test Scripts");

When the myAction button is pressed the script looks if an Action Set from the list is currently shown in the Action palette, if such Set is found it will be replaced (in the Actions palette) by the next entry from the list.

With the above example the myAction button rotates the Action Sets "Main Workflow" , "Text" , "Grayscale" , "Test Scripts", "Main Workflow" etc, one by one, by each press of the myActions button. It is very fast. Does not alter the Action Set files (*.atn) on the disk in any way, only affects to what is shown in the Actions Palette.

The script is in two parts, a loader and the main routine. The loader is needed because Photoshop does not allow full access to the Actions palette for such a script that was started from an action button.

It is easy to take into use:

1) Extract the two scripts to any folder (they both just need to be in the same folder).
2) FIRST modify the two variables: actionsFolder' and actionSets' in the 'myActions_main.jsx' script.
3) Create a new Action Set with the name: 'myActions'.
4) Create a new Action with the name 'myActions' to the above created Set.
5) Record the File/Scripts/Browse... 'myActions.jsx' as the only Step to the above created Action.

So, you will have a new ActionSet that has only one Action, they can both be named freely, for consistency reasons I named them both as 'myActions'. If you load this as the first action set, it will nicely at top left, and then press it, it loads the first Action Set that is defined in the list.

The above is one time only job, later you only need to change the content of the actionSets variable in case you want to change, add or remove Actions Sets from the rotation.

Both the 'myActions.jsx' and 'myActions_main.jsx' scripts must reside in the same folder.

In case the ExtendedScript Toolkit happens to be open, the myAction button will not work, instead the 'myActions_main.jsx' only open into the ExtendedScript Toolkit.

Merry Actions,
Timo Autiokari