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

how correctly to close windows?

Participant ,
Oct 10, 2013 Oct 10, 2013

I make a JS script run from the EST, everything works, the window closes. New launch as successful.

When I run this script from the panel, created in Adobe Configurator, after working off the script, and close the window, the launch of new shows is a blank window.

If you exit Photoshop and back in again - again works but only once!

Since other scripts in the panel work, then I guess it is incorrect to close something, links or variables.,

TOPICS
Actions and scripting
804
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 ,
Oct 10, 2013 Oct 10, 2013

I don’t follow – could you post screenshots to illustrate what you are talking about?

And if there is an issue with your Script people might be able to help you better if the Script was available.

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
Guru ,
Oct 10, 2013 Oct 10, 2013

I make a JS script run from the EST, everything works, the window closes...

When you say the window closes do you mean the panel? Or are you using a ScriptUI dialog inside the Configurator panel?

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
Participant ,
Oct 10, 2013 Oct 10, 2013

I figured out (can be useful to someone) - I have a group that has listbox. To lock the elements I use the lock of the group in which they are located. I feel so comfortable - block box and a button at a time.

In the script, I changed the status of the group enabled to true, but by the time listboks was empty. A subsequent call to the script shows a blank application window

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
Participant ,
Oct 15, 2013 Oct 15, 2013
LATEST

Previous post is not quite correct!

The problem was that, in order to reduce user errors, I blocked separate controls - edittext, dropdownlists, buttons, etc. It seemed to me that the block group that you created in the GUI and in which there are few controls will be more accurate than a block apart each element. So, when you call one of the other panels, which were  blocked and then unblocking groups of elements, the second panel is opened empty. I had to change the script blocking groups and replace them with locking elements. Now everything is working properly. It may be useful to someone my experience

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