• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Setting Pages Insertion point (was Setting TextEdit S( )
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Setting Pages Insertion point (was Setting TextEdit S( )
      • From: Axel Luttgens <email@hidden>
    • Re: Setting Pages Insertion point (was Setting TextEdit S( )
      • From: Shane Stanley <email@hidden>
References: 
 >Re: Setting Pages Insertion point (was Setting TextEdit S( ) (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Adobe CS2 and CS3
  • Next by Date: Re: [OT] Setting Pages Insertion point (was Setting TextEdit S( )
  • Previous by thread: Re: Setting Pages Insertion point (was Setting TextEdit S( )
  • Next by thread: Re: Setting Pages Insertion point (was Setting TextEdit S( )
  • Index(es):
    • Date
    • Thread