I need help with my Buttons and Textboxes. I am using Applescript Studio in Xcode. Now I what I need help with is making it so that I can get information from my textboxes and when you click the button it does something. How would I call information from the textbox when you click the button and make it so that the appllication changes the information, or open the information in another application. Will here is some code.
on clicked theObject
if title of theObject = "Submit" then
(*This is where I am having problems with the textbox data*)
else if title of theObject = "Submit" then
(*This is where I am having problems with the textbox data*)
end if
end clicked
on action theObject
(*Add your script here.*)
end action
on drag exited theObject drag info dragInfo
(*Add your script here.*)
end drag exited
on drag theObject drag info dragInfo
(*Add your script here.*)
end drag
on conclude drop theObject drag info dragInfo
(*Add your script here.*)
end conclude drop
on drop theObject drag info dragInfo
(*Add your script here.*)
end drop
on prepare drop theObject drag info dragInfo
(*Add your script here.*)
end prepare drop
on drag updated theObject drag info dragInfo
(*Add your script here.*)
end drag updated
on drag entered theObject drag info dragInfo
(*Add your script here.*)
end drag entered
on will become active theObject
(*Add your script here.*)
end will become active
Thanks.