Speaking of strings, text, and stuff
Speaking of strings, text, and stuff
- Subject: Speaking of strings, text, and stuff
- From: Michelle Steiner <email@hidden>
- Date: Tue, 28 Jun 2005 22:03:14 -0700
Tiger 10.4.1:
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
-- Michelle
--
"Should any political party attempt to abolish social security,
unemployment insurance, and eliminate labor laws and farm programs,
you would not hear of that party again in our political history.
There is a tiny splinter group, of course, that believes that you
can do these things. Among them are a few Texas oil millionaires,
and an occasional politician or businessman from other areas. Their
number is negligible and they are stupid."
President Dwight D. Eisenhower, 1952
_______________________________________________
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