• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: can't get stringvalue from TextField
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: can't get stringvalue from TextField
      • From: Shane Stanley <email@hidden>
References: 
 >Re: can't get stringvalue from TextField (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: can't get stringvalue from TextField
  • Next by Date: Re: can't get stringvalue from TextField
  • Previous by thread: Re: can't get stringvalue from TextField
  • Next by thread: Re: can't get stringvalue from TextField
  • Index(es):
    • Date
    • Thread