• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

104

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

Copy link to clipboard

Copied

Have you tried recording the operation with ScriptingListener.plugin? 

Votes

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
LEGEND ,
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.

Votes

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
Community Expert ,
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. 

Votes

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