During development of my script I do not use the (established FM-)menu to invoke its functions, but normally test via ESTK.
Of course I expected the same beahviour in using Notify whether I start the script via ESTK or directly out of FM.
The very first thing the script (during development) is the presentation of a small dialog which lets me choose the function to be tested:
Dialogue C, Dialogue S, Dialogue DS. The dialogues contain selection lists which are filled from items from the current document (e.g. the list of vaiables of type #calc). When Switching the document, a Notify function is (should be) invoked to refresh the content of the dialgue according to the current document.
All works correctly if I start the script via File > Script > Run or from the Catalogue > Favourites:
But this does not work correctly when starting from ESTK:
The Refresh button mainly does the same as the Notify function. It's strange that after using the Refresh button the Notify function starts to behave. That is, switching the document from now on invokes the Notify function!
This is as least strange for me.