Extracting Text from aa Window
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.