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

Action performance

Explorer ,
Mar 12, 2024 Mar 12, 2024
Hello, I am experiencing issues with action perfomace while using Photoshop. It takes a long time to run and often freezes. Is there any way to speed it up?
 
 
TOPICS
Actions and scripting , Windows
706
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 ,
Mar 13, 2024 Mar 13, 2024

Please read this (in particular the section titled "Supply pertinent information for more timely and effective answers”):
https://community.adobe.com/t5/using-the-community/community-how-to-guide-tips-amp-best-practices/td...

 

What does the Action actually do? 

What are the Actions Panel’s Playback Options? 

What are the images’ pixel dimensions and bit depth? 

What are the Performance Preferences settings? 

 

Could you please post screenshots taken at View > 100% with the pertinent Panels (Toolbar, Layers, Actions with the fully expanded Action, Options Bar, …) visible? 

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
Explorer ,
Mar 13, 2024 Mar 13, 2024

I have multiple actions that contain many steps and scripts to perform various tasks. I want to know ways to speed up the process without limiting it to a specific situation. In other words, I don't have a specific goal or image in mind; I just want to find a way to make the process faster without having to wait for too long.

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 ,
Mar 13, 2024 Mar 13, 2024

What does actually take long? 

What are the Actions Panel’s Playback Options? 

What do the Scripts you are using do and do they employ (mainly) DOM or AM code? 

 

In Scripting hiding all Panels can cause faster performance because creating previews in the Panels also take (a little) work. 

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
Explorer ,
Mar 13, 2024 Mar 13, 2024

Usually it frozen while i use the script i wait about 3-5 mins then it just done so i dont really know what cost the most time, and my playback is "acclerated"

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 ,
Mar 13, 2024 Mar 13, 2024

What do the Scripts you are using do and do they employ (mainly) DOM or AM code? 

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
Explorer ,
Mar 13, 2024 Mar 13, 2024

what is AM and DOM code mean, sorry i don't understand 

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 ,
Mar 13, 2024 Mar 13, 2024

»Action Manager« and »Document Object Model«. 

The latter being more limited in scope and generally performing more slowly, but providing better readability. 

 

And for the third time

What do the Scripts you are using do? 

 

Unless you provide a meaningful answer trying to contribute to this thread further would seem kind of pointless to me. 

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
Explorer ,
Mar 13, 2024 Mar 13, 2024

It mainly on Action manager, the action&code is for replace and updating smart object, another one is for setup & management layer and change it into smart object. Those two that take the most time so i guess that i want to make a speed up for

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 ,
Mar 14, 2024 Mar 14, 2024

For meaningful advice you may have to provide the Scripts, but that should be obvious. 

 

Try adding 

app.togglePalettes();

at the start and end of the Script. 

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
Explorer ,
Mar 14, 2024 Mar 14, 2024

I mean in general not just script but performance of photoshop action as a whole. But that indeed help, using it does make it a little bit faster when i use the code

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
LEGEND ,
Mar 14, 2024 Mar 14, 2024
LATEST

Without specifics we can't help much. In general, if you develop code, you have to optimize it yourself.

There is also the obvious- get a faster computer and drives.

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