• 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 TextEdit Insertion point
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting TextEdit Insertion point


  • Subject: Re: Setting TextEdit Insertion point
  • From: Quark67 <email@hidden>
  • Date: Sun, 23 Sep 2007 22:34:31 +0200


Le 14 juil. 07 à 06:18, Bill Briggs a écrit :

At 1:12 AM -0300 7/14/07, Bill Briggs wrote:
select insertion point before line 2

 Also note that the syntax...

     select insertion point before paragraph 2

 also works, if you prefer.

- web


This don't run with Pages 2 or 3.

tell application "Pages"
make new document with properties {body text:"first second third fourth"}
tell document 1
make new text at after character 2 of word 2 with data "$"
select insertion point before word 3
make new text with data "before "
end tell
end tell

Gives : (in Page 3. In Page 2, there are error...)

"first se$cond third fourthbefore "

and not
"first se$cond before third fourth"

Why?

How must I use "insertion point" with "Pages" ? Thanks.
(if you don't have Pages 3, you can download a trial version from Apple website).

 _______________________________________________
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 TextEdit Insertion point
      • From: KOENIG Yvan <email@hidden>
  • Prev by Date: Re: Check if app exists
  • Next by Date: Is it possible to Applescript the deletion and addition of items from a Finder window's sidebar?
  • Previous by thread: Re: Keystroking Terminal.app with case
  • Next by thread: Re: Setting TextEdit Insertion point
  • Index(es):
    • Date
    • Thread