Hello! Can I make a script say "A" then "B" (ActionA and ActionB) if the user selects both options in the list? I can't install AppleScript Studio right now, and wanted to know if it is possible to do this with AppleScript Editor...
Thanks!
Thanks!
set Options to {"A", "B", "C"}
on ActionA()
say "A"
end ActionA
on ActionB()
say "B"
end ActionB
on ActionC()
say "C"
end ActionC
set ListA to (choose from list Options with prompt "Choose items to be spoken. Hold command (⌘) to select multiple letters" with title "Chocolate" with multiple selections allowed) as text
if ListA is "A" then
ActionA()
end if
if ListA is "B" then
ActionB()
end if
if ListA is "C" then
ActionC()
end if