Skip to main content
Inspiring
April 17, 2018
Question

transformation panel in PS CC2015 and CC2017

  • April 17, 2018
  • 1 reply
  • 602 views

Hi everyone.

In the version of CC2015, the script works well-collapses the panel into a narrow one and expands it into a full size. But in CC2017 the script does not start to work every time, and through one "open" click. Messages "1" and "2" are triggered, but the panel is not expanded. Please help me

                if ($("#chbMini").prop("checked")){ //check

                        alert(1)

                    CSInterface.prototype.resizeContent(330,300)

                }else{

                        alert(2)

                    CSInterface.prototype.resizeContent(30,300)

                }

[Moved to Extensions/Add-ons Development forum by Mod]

This topic has been closed for replies.

1 reply

Trevor:
Legend
April 17, 2018

Works fine for me. Perhaps you need to download a more recent version of CSInterface.

What happens if you use

window.__adobe_cep__.resizeContent(400,600)
Inspiring
April 18, 2018

first and second click is OK, but then - 3 click for change size