Re: Speaking of strings, text, and stuff
Re: Speaking of strings, text, and stuff
- Subject: Re: Speaking of strings, text, and stuff
- From: Shane Stanley <email@hidden>
- Date: Wed, 29 Jun 2005 15:35:14 +1000
- Thread-topic: Speaking of strings, text, and stuff
On 29/6/05 3:03 PM, "Michelle Steiner" <email@hidden> wrote:
> tell application "Safari"
> summarize (text of document 1)
> end tell
> --> "Safari got an error: Can't make every text of document 1 into
> type string."
>
> But this works:
>
> tell application "Safari"
> summarize ((text of document 1) as string)
> end tell
I think the "as string" is just forcing evaluation; this also works:
tell application "Safari"
summarize (get text of document 1)
end tell
--
Shane Stanley <email@hidden>
_______________________________________________
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