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

Re: TextEdit script


  • Subject: Re: TextEdit script
  • From: Paul Berkowitz <email@hidden>
  • Date: Mon, 18 Jul 2005 08:32:11 -0700
  • Thread-topic: TextEdit script

On 7/18/05 6:55 AM, "Michelle Steiner" <email@hidden> wrote:

>
> On Jul 18, 2005, at 5:08 AM, B2 Fass-Holmes wrote:
>
>>
>> Could someone please explain to me what is defective in the
>> following AppleScript and what needs to be changed so that it
>> functions properly when I select text in TextEdit and execute the
>> script?
>
> The defect is in TextEdit; there is no selection property.  However,
> if there were, it would be a property of the text of the window (or
> maybe of the window itself), not of the application.

Actually, most applications that have a selection property do implement it
as a property of the application. (Check Finder, Text Edit-Plus, Text
Wrangler, Microsoft Word, Entourage, etc.) That's consistent with the fact
that some applications allow only one contiguous selection at a time,
usually in the front window. Even other apps that do allow selection in
multiple windows or documents simultaneously, and implement selection as a
property of window or document, most often still implement selection of the
application to mean the active selection in the front window.


--
Paul Berkowitz


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: TextEdit script
      • From: Michelle Steiner <email@hidden>
References: 
 >Re: TextEdit script (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: what happened to Mail's scripts menu?
  • Next by Date: Re: TextEdit script
  • Previous by thread: Re: TextEdit script
  • Next by thread: Re: TextEdit script
  • Index(es):
    • Date
    • Thread