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

Filter dialog locks zoom function

Contributor ,
Nov 05, 2018 Nov 05, 2018

The issue I face is, when I set up Gaussian Blur or any other layer filter via a script, I am unable to zoom in on an image whilst the dialog is open. I can zoom in via the dialogs own zoom, but this is a small square so not always the best preview.

Does anyone know an extra line I can add to move the blur window.

Script tested:

app.displayDialogs = DialogModes.ALL; 

app.activeDocument.activeLayer.applyGaussianBlur(10);

app.displayDialogs = DialogModes.NO;  

Doing it the direct method or via an action I am able to zoom, just not when it opens with a script.

I also tested the xtools method:

  function gBlur(enabled, withDialog) {

    if (enabled != undefined && !enabled)

      return;

    var dialogMode = (withDialog ? DialogModes.ALL : DialogModes.NO);

    var desc1 = new ActionDescriptor();

    desc1.putUnitDouble(cTID('Rds '), cTID('#Pxl'), 10);

    executeAction(sTID('gaussianBlur'), desc1, dialogMode);

  };

The xtools method also opens the dialog on my second screen, which is also irritating.

TOPICS
Actions and scripting
223
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
no replies

Have something to add?

Join the conversation
Adobe