how to select all channels with shortchut?

New Here ,
Jul 28, 2022 Jul 28, 2022

Copy link to clipboard

Copied

I want to use action. so, I want select all channels with the menu bar. so use in multiple files. I use the script for more than 100 files. all files have a different name in channels. i also attache sample of my channels.Screenshot 2022-07-29 114446.png

TOPICS
Windows

Views

21

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Jul 28, 2022 Jul 28, 2022

Copy link to clipboard

Copied

LATEST

Try this function:

 

 

selectAllChannels();

function selectAllChannels() {
    var totCha = activeDocument.channels.length;
    var actCha = new Array();
    for (var i = (totCha - 1); i >= 0; i--) {
        actCha.push(activeDocument.channels[i]);
    }
    activeDocument.activeChannels = actCha;
};

 

 

There may be a faster way with Action Manager code, however, I'm not the one to answer that!

 

P.S. Actions and scripts are different things. Once installed, the script can be recorded into an action. A custom keyboard shortcut can also be applied to the installed script.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines