on buttonClick_(sender)
tell application "System Events"
set theTextField to word 25 of (do shell script "curl checkip.dyndns.org")
end tell
end buttonClick_
when i click the next button i wan’t the IP to show up in the textfield
on buttonClick_(sender)
tell application "System Events"
set theTextField to word 25 of (do shell script "curl checkip.dyndns.org")
end tell
end buttonClick_
when i click the next button i wan’t the IP to show up in the textfield
You use setStringValue_ and pass in the string you want in your text field. You should read the docs for NSTextField and it’s parent class, NSControl to see what methods are available.
Ric