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

Script error run within an action

Community Beginner ,
Jul 14, 2023 Jul 14, 2023

Copy link to clipboard

Copied

Windows 10. PS version 24.6. I've been running a script successfully in an action but it suddenly stopped working yesterday, throwing up the illustrated error. The script is designed to change the scale of an embedded object. As I said, it's been working fine for over a year but yesterday started throwing up the error for no apparent reason.

Any help, advice would be most gratefully received.

TOPICS
Actions and scripting

Views

328
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 ,
Jul 14, 2023 Jul 14, 2023

Copy link to clipboard

Copied

Could you please post screenshots with the pertinent Panels (Toolbar, Layers, Actions with the fully expanded Action, Options Bar, …) visible? 

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 Beginner ,
Jul 14, 2023 Jul 14, 2023

Copy link to clipboard

Copied

Many thanks for your prompt response. The 2 screenshots I posted should show everything but I've re-attached them here in case not. The action places an embedded object, a 2cm digital scale from the desktop into the image. The script should then size the scale to the correct proportion. This in turn replaces the original scale.
I have attached a shot of the desktop showing the scale and one of a finished image for illustration purposes.
If this does not help, please don't hesitate to get back to me and I'll try again.
With thanks.



This message comes from

Ivor Kerslake

Tel. 07939926515

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 ,
Jul 14, 2023 Jul 14, 2023

Copy link to clipboard

Copied

The error is clearly layer related, but your layer panel isn't visible when the error appears – so we can't see why or really comment.

 

Perhaps this link may help?

 

https://community.adobe.com/t5/photoshop-ecosystem-discussions/need-clarification-in-executing-scrip...

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 Beginner ,
Jul 15, 2023 Jul 15, 2023

Copy link to clipboard

Copied

Thank you. I hadn’t considered it being a problem with the layer. I’ll check the path.


This message comes from …
Ivor Kerslake
07939926515
Sent from my iPhone

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 ,
Jul 15, 2023 Jul 15, 2023

Copy link to clipboard

Copied

LATEST

Please do post a screenshot with the layers panel visible when running the script using the same image that failed in your previous screenshot (I'm guessing that there is no layer named "Line 1").

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