Window.find Won’t Find My ScriptUI Palette

Learn / Forums / General InDesign Topics / Window.find Won’t Find My ScriptUI Palette

Viewing 0 reply threads
  • Author
    Posts
    • #14357585
      Jeremy Howard
      Participant

      Hello all,

      This is driving me nuts because I could have sworn that I had my example files working when I had them open last. As the title suggests, I am attempting to use “Window.find” to find a palette that I created using ExtendScript/ScriptUI.

      I am creating the palette window with this:

      var myDialog = new Window ('palette {text:"Fun With Checkboxes", name:"Test Dialog", alignChildren:["fill","fill"]}');

      Then, in a separate script, I am attempting to find that window with this:

      var targetDialog = Window.find("Test Dialog");

      but it keeps returning null!

      any help would be much appreciated!

      thanks,

      Jeremy

Viewing 0 reply threads
  • You must be logged in to reply to this topic.
>