Stylistic Alternates within Photoshop Script

New Here ,
May 23, 2022 May 23, 2022

Copy link to clipboard

Copied

Is there possibly a way to set the stylistic set, or set stylistic alternates to true within a photoshop script? I've written a script to read a .txt file, write each line within it on an image and export, however I need to use single decker lower case a's rather than double decker a's <--- these type. In photoshop I can select the stylistic alternates in the text panel properties, but I need a way of doing this in script. Any ideas how to change this?

TOPICS
Actions and scripting

Views

36

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 ,
May 24, 2022 May 24, 2022

Copy link to clipboard

Copied

Have you tried recording the operation with ScriptingListener.plugin? 

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 ,
May 24, 2022 May 24, 2022

Copy link to clipboard

Copied

It is possible but its a PITA, you have to use Action Manager code to do so. I'm not sure that all stylistic choices available in the GUI are also available in AM code.

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 ,
May 24, 2022 May 24, 2022

Copy link to clipboard

Copied

LATEST

If something is not accessible via DOM in Photoshop AM is the alternative. 

And considering the limited control over Type Layers DOM offers it seems likely that AM is indeed the only hope in this case. 

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