Cannot coerce field contents to text?
Cannot coerce field contents to text?
- Subject: Cannot coerce field contents to text?
- From: Brian Christmas <email@hidden>
- Date: Sun, 07 Dec 2014 10:01:14 +1100
G’day Scripters.
In Yosemite, I’ve spent several hours trying various things with this, and poring over Explored 5, but cannot get the contents of a field to coerce to text.
I’ve also tried coercing the return delineated variable that the field binds to to text, and that also errors.
Anybody able to guide me on this please? I’m trying to add a return after the last line of the field, and also want to be able to get each paragraph of the field, that is supposed to contain, and be editable, a list of email addresses.
The answer is frustratingly eluding me.
Regards
Santa
on setMailList2:sender try set my mailAddressesSecondaryError to contents of sender as text -- Shanes eBook says to coerce to text if last paragraph of my mailAddressesSecondaryError ≠ "" then set my mailAddressesSecondaryError to my mailAddressesSecondaryError & return my saveTheGeneralData() on error errmsg display dialog "setMailList2 " & errmsg end try end setMailList2:
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden