On 10/30/06, Roman Pixell [GMail] <roman.pixell@gmail.com> wrote:
<snip>
> newton. im not a programmer, but a newton script that would pronounce
> the output of a text file seems to be doable. in fact, there must be
> some macintalk related scripts out there already. can someone chime
> in here?
Here's a link to an earlier thread about this: http://tinyurl.com/y5r9zk
His spell checker capitalized Local and If, which I've fixed below.
Here's the script that will play highlighted text through MacinTalk:
local t = GetHilitedTextItems();
if t <> nil
then
for each item in t do PlaySound(item);
else
begin
PlaySound("Duh, select some text first.");
end;
--- Matthew Reidsma Boston, MA U.S.A. -- This is the NewtonTalk list - http://www.newtontalk.net/ for all inquiries Official Newton FAQ: http://www.chuma.org/newton/faq/ WikiWikiNewt for all kinds of articles: http://tools.unna.org/wikiwikinewt/Received on Mon Oct 30 11:52:13 2006
This archive was generated by hypermail 2.1.8 : Mon Oct 30 2006 - 12:30:00 EST