Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Set variable to output of text field- xcode 4.5, applescript
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Mark FX" data-source="post: 1492878" data-attributes="member: 211556"><p>Try this in your IBAction method, also check the connection from the textField to the method.</p><p></p><p>[CODE]</p><p>if sender is equal to myTextField then</p><p> set thetext to sender's stringValue()</p><p>end if</p><p>[/CODE]</p><p></p><p>Mark</p></blockquote><p></p>
[QUOTE="Mark FX, post: 1492878, member: 211556"] Try this in your IBAction method, also check the connection from the textField to the method. [CODE] if sender is equal to myTextField then set thetext to sender's stringValue() end if [/CODE] Mark [/QUOTE]
Verification
Name this item. 🍎
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Set variable to output of text field- xcode 4.5, applescript
Top