I’m working on a script in Pages (Edit: Pages 09; 4.1, later versions broke scripting specific things, like the selection), and I have a text box selected in the document. In Explorer there is an application entry for section, and if expanded it looks like this
Selection
Item 1 of selection
If I select “Selection” in the Explorer and click paste tell I get this:
tell application "Pages.app"
selection
end tell
If I select the sub-entry (item 1 of the selection) and click paste tell I get this:
item 1 of selection
Shouldn’t I get this:
tell application "Pages.app"
item 1 of selection
end tell