sorry, i copied the wrong script in my original posting, but i can't find a way to edit it...
here is the correct one:
tell application "System Events"
tell process "Keynote"
return entire contents of menu bar 1
end tell
end tell
Topic:
App & System Services
SubTopic:
Automation & Scripting