• 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: Shane Stanley <email@hidden>
  • Date: Thu, 27 Sep 2007 20:53:32 +1000
  • Thread-topic: Setting Pages Insertion point (was Setting TextEdit S( )

On 27/9/07 8:06 PM, "Axel Luttgens" <email@hidden> wrote:

> Clearly, a document has multiple insertion points, if "insertion point" is
> taken in the very precise sense of Page's _dictionary_.

And that was my point, really: for a scripter -- and the whole discussion
began in the context of scripting -- it shouldn't be confused with the
selection (and often is). Understanding that it is something separate makes
dealing with it much easier.

> But in the GUI, there is at most one insertion point.

Yes, in the GUI reference is often made to "_the_ insertion point". But I'd
argue it's still also a selection in GUI terms; it's the idea of selection
_or_ insertion point that disturbs me.

But even if you accept the idea that an insertion point in the GUI is not
really a selection, I still don't think you can then call the two terms
synonyms, which is what the OP suggested and what I objected to. Moreover,
as a scripter, such an approach is only going to confuse things.

> But here comes the reason for my initial humorous attempt.
> By writing:
>     "regardless of what, if anything, is selected"
> you have used the root "select" in a GUI sense while, in the _same_ sentence,
> you have considered "insertion points" with the very precise meaning from
> Page's dictionary.
> That is, as soon as one mixes the semantic fields for "selection" and
> "insertion point", everyone is right and wrong!

I'm sorry, but I fear that's gone over my head again. When I said "if
anything", I was referring to the situation possible in many apps, where
there is no selection (the property returns null or an empty list).

> So, Shane, tell me sincerely: has my post been that illegible?

No, but it is a confusing area. However, when you said "maybe are you both
right", I assumed you were referring to the idea of selection and insertion
point being some kind of synonyms, and I think that's not only wrong, but
the sort of approach that's going to make scripting harder than it needs to
be.

For a scripter, I think the key thing to understand is that insertion points
are unrelated to the selection.

--
Shane Stanley <email@hidden>
AppleScript Pro Florida, Feb 2008 <http://scriptingmatters.com/aspro>


 _______________________________________________
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: Michelle Steiner <email@hidden>
    • Re: [OT] Setting Pages Insertion point (was Setting TextEdit S( )
      • From: Axel Luttgens <email@hidden>
    • Re: Setting Pages Insertion point (was Setting TextEdit S( )
      • From: KOENIG Yvan <email@hidden>
References: 
 >Re: Setting Pages Insertion point (was Setting TextEdit S( ) (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Re: Setting Pages Insertion point (was Setting TextEdit S( )
  • Next by Date: Adobe CS2 and CS3
  • 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