Window.find Won’t Find My ScriptUI Palette
- This topic has 0 replies, 1 voice, and was last updated 2 years, 2 months ago by .
- You must be logged in to reply to this topic.
Learn / Forums / General InDesign Topics / Window.find Won’t Find My ScriptUI Palette
Learn / Forums / General InDesign Topics / Window.find Won’t Find My ScriptUI Palette
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
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies allows us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
To provide the best experiences, we and our partners use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us and our partners to process personal data such as browsing behavior or unique IDs on this site and show (non-) personalized ads. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Click below to consent to the above or make granular choices. Your choices will be applied to this site only. You can change your settings at any time, including withdrawing your consent, by using the toggles on the Cookie Policy, or by clicking on the manage consent button at the bottom of the screen.
You have to be logged in to save.
Not a member? Join Today - it's FREE!