1286 Views 1 Reply Latest reply: Apr 3, 2010 7:50 AM by Pierre L.
Both of the scripts below should insert a return character before the insertion point:
*tell application "Pages" to tell document 1*
*set P to character offset of (get selection)*
*make new character at before character P with data return*
*select insertion point after character P*
*tell application "Pages" to activate*
*tell application "System Events" to keystroke return*