Title: Another "simple" AppleScript Question
I’d like to be able to find the size of my contact’s Description field (to treat short descriptions differently from long ones). So I’ve read up on, I really have, the Data Size command and the Count Number of Characters command. And I can’t get either to work.
With the Data Size, I first set theNotes to the contract’s Description, and then say:
if ((data size of theNotes) < 26) then
I then get the error message, “Microsoft Entourage got an error: <... it then correctly repeats the contents of my Description...>” doesn’t understand the data size message.”
The book says it should return the size in bytes, which should give the same answer as Count the Number of characters. I’d settle for either.
This has got to truly be simple, and I already feel I should have been able to figure it out myself.
So thanks again for your patience,
Peter
- Re: Another "simple" AppleScript Question Peter Wait
- Re: Another "simple" AppleScript Question Paul Berkowitz
