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

Window.close()

Community Expert ,
Aug 27, 2022 Aug 27, 2022

Copy link to clipboard

Copied

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

Views

27

Translate

Translate

Report

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