Need some help to figure out how to access Text Boxes inside a slide in Keynote with Applescript. I tried to use ASDictionary but I couldn't find anything that would resemble a text box object. I fear that they are not scriptable in Keynote, but perhaps I can access them through Applescript Cocoa bridge? Any thoughts? Thanks!
A:
If (and only if) Keynote doesn't provide access to objects on a slide via AppleScript, then you should do two things:
- File an enhancement request at https://bugreport.apple.com/ .
- Try examining the Keynote document directly by parsing its XML.
Keynote's XML document format is not documented, as far as I know, but at least you can access it. You just have to be careful about the format changing out from under you.
Peter Hosey
2010-01-12 15:52:04
I think it is documented here: http://developer.apple.com/mac/library/documentation/AppleApplications/Conceptual/iWork2-0_XML/Chapter02/02Pages.html. XML parsing was on my mind but I decided against it.
monomyth
2010-01-12 16:58:04