can't get stringvalue from TextField
can't get stringvalue from TextField
- Subject: can't get stringvalue from TextField
- From: Phillip Smith <email@hidden>
- Date: Wed, 05 May 2010 11:14:32 +1200
Hi Folks i have a problem
I can't get
set textFieldValue to textField's stringvalue()
to work
I have the part one project
http://macscripter.net/viewtopic.php?id=30274
and it runs fine
I have tried copying and pasting the code into my project and it does not work
I have modified the code for testing
on setTextViewFromTextField_(sender)
textField's setStringValue_("hello") -- this works
textView's setString_("this is a test")-- this works
set mytext to textField's stringvalue() -- this doesn't
say mytext
end setTextViewFromTextField_
I get this error
2010-05-05 11:10:53.726 test ASOBJC[1025:903] -[NSTextField stringvalue]: unrecognized selector sent to instance 0x1584b30
2010-05-05 11:10:53.736 test ASOBJC[1025:903] *** -[test_ASOBJCAppDelegate setTextViewFromTextField:]: -[NSTextField stringvalue]: unrecognized selector sent to instance 0x1584b30 (error -10000)
I have noticed that typing stringValue is converted to stringvalue
by the way I can't get debugger to work in applescript
running 10.6.3
Phillip Smith
Applied Evolution
mob 021-363-869
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