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

[Q] Is there way to suspend Photoshop UI update while script running?

Contributor ,
Jul 31, 2017 Jul 31, 2017

Copy link to clipboard

Copied

Hi all,

Is there way to suspend Photoshop UI update while script running?

Details:

1) I have some code to modify values on Adjustment Layer parameters by user operation.

2) Issue came up as user operate, it records bunch of History State.

3) So I changed as following.

    3-1) Once backward from last recorded History State

            This is from ScriptListner code.

    3-2) Change values on Adjustment Layer

            This is modified ScriptListner code to support parameters.

4) Then there's issue on History State.

     So I used app.activeDocument.suspendHistory() function to have unique name on History State.

     I'm not sure if there's other way to rename History State.

5) Now I have issue on following as user operate to change values on Adjustment Layer.

    Win: Adjustment Layer's Slider got flickering on Photoshop UI

    Mac: Above 4) 's History State is flickering on Photoshop UI

    Both does not look good.

Thank you,

Naoki

TOPICS
Actions and scripting

Views

178

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
no replies

Have something to add?

Join the conversation
Adobe