Code: Select all
// set the date picker
set the namesToUse of widget "Date Picker" of group "Select Type Popup" of card "To Do" to "Custom"
put translate("MO,TU,WE,TH,FR,SA,SU") into tDayNames
set the dayNames of widget "Date Picker" of group "Select Type Popup" of card "To Do" to tDayNames
put toUpper(translate("Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec")) into tMonthNames
set the monthNames of widget "Date Picker" of group "Select Type Popup" of card "To Do" to tMonthNames