. . "Pierre L. came to my rescue again, suggesting using if selection = then??? I would have expected something more intuitive in AppleScript???s pseudo-natural language, like if the selection is an insertion point then??? But I???ve also learned not to expect the more intuitive stuff to work with AppleScript." . .