• 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
Extracting Text from aa Window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Extracting Text from aa Window


  • Subject: Extracting Text from aa Window
  • From: Ronald Hofmann <email@hidden>
  • Date: Sun, 31 Mar 2002 12:55:23 +0200

When trying to extract the contents of the front window of TextEdit using:

tell application "TextEdit"
set textVar to (get the contents of window 1)
end tell

I get this error:
NSReceiverEvaluationScriptError: 3

Can somebody confirm this? Any idea whats wrong?

How can I save a text contained in a variable to my disk?
How can I load a textfile from my disk into a variable?

Ronald
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Extracting Text from aa Window
      • From: Matthew Stuckwisch <email@hidden>
    • Re: Extracting Text from aa Window
      • From: Mr Tea <email@hidden>
  • Prev by Date: Re: Quickie Question
  • Next by Date: Re: Extracting Text from aa Window
  • Previous by thread: Unicode
  • Next by thread: Re: Extracting Text from aa Window
  • Index(es):
    • Date
    • Thread