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

How can I get different fonts in textItem object

New Here ,
Jun 24, 2017 Jun 24, 2017

Hi everyone, I'm currently working on js scripting.
I have .psd file with textLayers. I can access the tetxItem object and font property. However, font property only returns the font of the first character.

How can I get/detect other fonts or bold/italic texts?

Sample text: "Adobe Photoshop Forum"

Thank you,

TOPICS
Actions and scripting
922
Translate
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 ,
Jun 25, 2017 Jun 25, 2017
Translate
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 ,
Jun 30, 2017 Jun 30, 2017

Have you been able to use code from the other threads for your purposes?

Translate
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 Beginner ,
Oct 16, 2017 Oct 16, 2017

Hi, I am a beginner in photoshop scripting, and I have looked at the code in other thread but it's really confusing to me. How would you generally let a single word to be a different font compared to other words within the sentence?

Thanks in advance.

Translate
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 ,
Oct 16, 2017 Oct 16, 2017
LATEST

Some of the things in this thread might be of interest to you:

Changing color of text found with regex

Translate
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