On 25/5/04 11:30 am, "HAV" <[EMAIL PROTECTED]> wrote:
on run
tell application "Microsoft Entourage"
set theSelection to the selection
if the class of theSelection is string then
Change this last line to:
If class of theSelection is in {string, unicode text} then
Aagh. I missed that one, Right, that's surely the problem. But I think it should be
if {class of theSelection} is in {string, unicode text} then
although Barry's version may work.
Frankly, even this will work :
if class of theSelection is unicode text then
if you're in 2004 and never running the script in Entourage X again.
--
Paul Berkowitz
MVP Entourage
Entourage FAQ Page: <http://www.entourage.mvps.org/toc.html>
AppleScripts for Entourage: <http://macscripter.net/scriptbuilders/>
PLEASE always state which version of Entourage you are using - **2004**, X or 2001. It's often impossible to answer your questions otherwise.
