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

关于动作无法记录从剪切板粘贴文本到文本图层

New Here ,
Oct 30, 2023 Oct 30, 2023

Copy link to clipboard

Copied

我想通过脚本来实现

1 我已经复制了一个图层名称内容是文字   

2 复制好的图层名称粘贴到当前文本文本的样式和当前的图层一样的

TOPICS
Windows

Views

152
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 ,
Oct 30, 2023 Oct 30, 2023

Copy link to clipboard

Copied

I am not sure what exactly you want to achieve, can you show us example?

 

It is possible to copy-paste using Photoshop action. I am not sure about style, do you mean layer style or effects? It must be done as separate action step I think.

 

If you want to write script (thats what translator says) then wait for scripters to see your request @c.pfaffenbichler @Stephen Marsh 

Votes

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 ,
Oct 31, 2023 Oct 31, 2023

Copy link to clipboard

Copied

LATEST

No need for copy/paste in a script.


1) Set a variable to capture the activeDocument.activeLayer.name

 

2) Set the text layer .contents as the variable from step 1

 

Working with text is difficult, a more advanced scripter than myself would be needed to retain existing text attributes as anything font/text related is often very complex as it generally relies on using Action Manager (AM) code and not DOM code.

 

Votes

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