Close second window in Keynote with Applescript.
I am scripting UI activity in Keynote with Applescript. The script applies an effect to an image on the slide. It then clicks the Build Order button at the lower right, and selects After Transition. So far so good. However, I cannot find a way to close the window. Watch Me Do with Automator gives 'Click the “<fill in title>” button'.