i am trying to make an app that will open a window when a user clicks on a button. It only has 1 text field and i want the text in it to be different according to the title of a popup button. i also want to have various windows open at the same time
something like this???
on clicked theObject
if the name of theObject is "Button" then
makeNewWindow(title of popup button "popup button")
end if
end clicked
on makeNewWindow(textString)
make new window with properties {title:textString}
set contents of text field "text field" to textString
end makeNewWindow
Wuld this change all the text fields of named “text field” of other windows?