我不太了解AppleScript。如何在不重复执行此类操作的情况下根据文本框中输入的文本更改对话框的文本?
display dialog "Enter text in the box to change this message" default answer ""
display dialog (the text returned of the result) default answer "To change the displayed message, enter text in the box"
...
答案 0 :(得分:2)
set this_text to "Enter text in the box to change this message"
repeat
set this_text to the text returned of (display dialog this_text default answer "To change the displayed message, enter text in the box")
end repeat