Community Expert
August 28, 2022
Question
Question about window.close()
- August 28, 2022
- 2 replies
- 242 views
Hi friends and experts, in particular ScriptUI guru Peter Kahrel:
In my script FMfindRepl (for FrameMaker) I have noticed that win.close()
- closes the palette window
- leaves its status active
- 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.
→ What is your opinion/knwledge about this issue?
