Skip to main content
StrongBeaver
Legend
February 27, 2016
Answered

20 Flash Panel Extension Limit

  • February 27, 2016
  • 1 reply
  • 1835 views

Hi, whether creating prototype scripts or installing a HTML Photoshop Script for PsCC-2015.1.2 since I have over twenty extensions for which I use installed; I get the error that there is a 20 flash panel extension limit and I can't install anymore ? I've tried changing autovisible in the manifest file from "true" to "false", that was unsuccessful.

I'm at a loss, don't tell me no one has 20 extensions installed and I'm the only one experiencing this problem

If so I can't install any other extension when working in Photoshop.

The only time a new extension works is when Photoshop loads; and in the recent version there is a open files panel, anyone with 2015.1.2 knows what I'm talking about, and there I don't see any of my other extensions, but I do see the newest extension installed, when I open a file from 2015.1.2 open file dialog and the other extensions load, the latest extension for which I installed, fires the 20 Flash Panel Extension limit, when I try to run it from Windows > Extension

This topic has been closed for replies.
Correct answer Tom Ruark

Try this script to change the max value:

$.localize = true;

var countKey = stringIDToTypeID("count");

var flashCount = 10;

try {

  var d = app.getCustomOptions("flashMaxOpenOrRunning");

  if (d.hasKey(countKey)) {

  flashCount = d.getInteger(countKey);

  }

}

catch(e) { } // do nothing, must not have that option

var msg = localize("$$$/JavaScript/MaxOpenOrRunningMessage=Current max panel count:")

var newCount = prompt(msg, flashCount);

if (newCount != null) {

  var d = new ActionDescriptor();

  d.putInteger(countKey, Number(newCount));

  app.putCustomOptions("flashMaxOpenOrRunning", d);

}

1 reply

Tom Ruark
Tom RuarkCorrect answer
Inspiring
March 1, 2016

Try this script to change the max value:

$.localize = true;

var countKey = stringIDToTypeID("count");

var flashCount = 10;

try {

  var d = app.getCustomOptions("flashMaxOpenOrRunning");

  if (d.hasKey(countKey)) {

  flashCount = d.getInteger(countKey);

  }

}

catch(e) { } // do nothing, must not have that option

var msg = localize("$$$/JavaScript/MaxOpenOrRunningMessage=Current max panel count:")

var newCount = prompt(msg, flashCount);

if (newCount != null) {

  var d = new ActionDescriptor();

  d.putInteger(countKey, Number(newCount));

  app.putCustomOptions("flashMaxOpenOrRunning", d);

}

StrongBeaver
Legend
March 2, 2016

Thanks it worked.

Is this script constructed by the PsDOM ?

Tom Ruark
Inspiring
March 4, 2016

Yes. This is the PS DOM.