Re: can't get stringvalue from TextField
Re: can't get stringvalue from TextField
- Subject: Re: can't get stringvalue from TextField
- From: Phillip Smith <email@hidden>
- Date: Wed, 05 May 2010 13:13:18 +1200
Thanks
This worked
set mytext to (textField's |stringValue|()) as text
Bizzare as in craig williams part one project this is not neccesary
On 05/05/2010, at 1:08 PM, Shane Stanley 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
_______________________________________________
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