Re: can't get stringvalue from TextField
Re: can't get stringvalue from TextField
- Subject: Re: can't get stringvalue from TextField
- From: Shane Stanley <email@hidden>
- Date: Wed, 05 May 2010 11:08:04 +1000
- Thread-topic: can't get stringvalue from TextField
On 5/5/10 11:04 AM, "Phillip Smith" <email@hidden> wrote:
> Thanks that does not fix it however I am getting a different error in console
That error is probably coming from the following line, "say mytext". When
you call a Cocoa method, the result has to be coerced to a suitable AS
class, in this case text. Try:
set mytext to (textField's stringvalue()) as text
--
Shane Stanley <email@hidden>
_______________________________________________
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