Re: Script to Copy/Paste Entourage Message Bodies
Re: Script to Copy/Paste Entourage Message Bodies
- Subject: Re: Script to Copy/Paste Entourage Message Bodies
- From: John Delacour <email@hidden>
- Date: Thu, 27 Mar 2003 08:27:05 +0000
- Mac-eudora-version: 6.0a13
At 11:39 pm -0500 26/3/03, Paul Skinner wrote:
tell application "TextEdit"
tell document 1
properties
end tell
end tell
-->{class:document, path:"/Users/paul/Desktop/test file.rtf",
modified:true, Name:"test file.rtf", text:"blah blah blah"}
Do you see the irony in that script?
The point is that 'text' is one of those ambiguous things and As will
not guess. When you ask for properties, the context allows no
ambiguity.
tell application "TextEdit" to tell front document
set its text to "ab"
{text 1 through 2 of (26 as text), its text, text, Unicode text,
count text, character 1}
end tell
_______________________________________________
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.