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

Window.close()

Community Expert ,
Aug 27, 2022 Aug 27, 2022

Hi friends and experts,

In my script FMfindRepl I have noticed that win.close() 

  • closes the palette window
  • leaves its status active

Hence any Nofify reaction addressing an element of the UI will re-open the panel.

Hence I have changed in the Notify function

if (wPalF.active) { ..

to

If (wPalF.visible) { ...

 IMHO close() should inactivate a window - but there are comments in various forums about the close() issue which lets me assume that something is incorrect with this method.

TOPICS
Scripting
110
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