Re: Setting Pages Insertion point (was Setting TextEdit S( )
Re: Setting Pages Insertion point (was Setting TextEdit S( )
- Subject: Re: Setting Pages Insertion point (was Setting TextEdit S( )
- From: KOENIG Yvan <email@hidden>
- Date: Thu, 27 Sep 2007 13:35:41 +0200
Hello
As you seems to be mora aware than I am about Insetion points, I will
ccept that my assumption was wrong.
- 1 - what is wrong here:
tell application "Pages" to tell document 1
get properties of insertion point 12 of body text
end tell
which returns: "Erreur dans Pages : NSReceiverEvaluationScriptError: 4"
- 2 -you wrote:
"You might also try setting the
contents of an insertion point."
I tried with:
tell application "Pages" to tell document 1
set contents of insertion point 12 of body text to " truc "
end tell
I got also: "Erreur dans Pages : NSReceiverEvaluationScriptError: 4"
What is wrong in this short piece of code.
Yvan KOENIG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden