• 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: Michelle Steiner <email@hidden>
  • Date: Mon, 18 Jul 2005 06:55:30 -0700


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.


This is endemic in Cocoa applications; you can't get the selected text.

--
I've noticed lately that the paranoid fear of computers becoming intelligent and taking over the world has almost entirely disappeared from the common culture. Near as I can tell, this coincides with the release of MS-DOS.
-- Larry DeLuca


_______________________________________________
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: Paul Berkowitz <email@hidden>
References: 
 >TextEdit script (From: "B2 Fass-Holmes" <email@hidden>)

  • Prev by Date: Re: Script application "bundles" that are read-only: error when quitting
  • Next by Date: Re: Script application "bundles" that are read-only: error when quitting
  • Previous by thread: TextEdit script
  • Next by thread: Re: TextEdit script
  • Index(es):
    • Date
    • Thread