on boxCallback event, eventData, itemPropList, thisPropList
case event of
#itemChanged :
case itemPropList[#title] of
"NameField" :
valueList[#nameField] = itemPropList[#value]
end case
#itemClicked :
case itemPropList[#title] of
"OK" :
stop(box, 1)
return valueList
"Cancel" :
stop(box, 0)
end case
end case
end
on getBehaviorDescription me
return "This script accepts input for the boxes title(whatTitle), the question or prompt on the box(whatPrompt), the default string for the answer(defaultText) , and the name of a handler to use with the returned list(handler). The first 3 are any string you want to use. For the handler, put the name of the handler without the (), or -- for no handler."
end
Contact
MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA