First, the script library is used for the posting of scripts only and not question and answer traffic. So if you would please delete the thread in the script library area and use this one for further questions and answers. Second, here's a small script to read the subject when HS receives a new email.
Sub Main()
index=hs.MailIndex
subject=hs.MailSubject(index)
body=hs.MailText(index)
hs.speak "you have mail! The subject is"
hs.speak subject
hs.speak body
end sub
if you only want the body comment out the line hs.speak subject
-Rupp
...One Nation Under GOD, Indivisible, With Liberty And Justice For All.
Sub Main()
index=hs.MailIndex
subject=hs.MailSubject(index)
body=hs.MailText(index)
hs.speak "you have mail! The subject is"
hs.speak subject
hs.speak body
end sub
if you only want the body comment out the line hs.speak subject
-Rupp
...One Nation Under GOD, Indivisible, With Liberty And Justice For All.
Comment