"Action": [
"s3:GetObjectAcl",
"s3:GetObject",
"s3:PutObjectAcl",
"s3:ListMultipartUploadParts",
"s3:PutObject"
]
答案 0 :(得分:0)
原因是内部变量result
总是包含前一行的结果
使用此:
set buttonReturned to button returned of (display dialog "How Would You Like To Proceed?" buttons {"Milk Them", "Burn Them", "Do Nothing"} default button 1)
if buttonReturned is "Milk Them" then
-- proceeed button 1
else if buttonReturned is "Do Nothing" then
-- proceeed button 2
else
-- proceeed button 3
end if