set ListOfSelections to {"String 1", "String 2", "String 3", "String 4", "String n"}
set r to choose from list ListOfSelections with prompt "Pick one or more:" with multiple selections allowed
if r is not false then set r to my getindexes(ListOfSelections, r)
on getindexes(ListOfSelections, r)
tell application id "au.com.myriad-com.ASObjC-Runner" -- ASObjC Runner.app
set theIndexes to {}
repeat with oneMatch in r
set theIndexes to theIndexes & (look in list ListOfSelections matching oneMatch)
end repeat
return theIndexes
end tell
end getindexes
The good news is that the next version of ASObjC Runner, due shortly, will make it simpler:
set ListOfSelections to {"String 1", "String 2", "String 3", "String 4", "String n"}
set r to choose from list ListOfSelections with prompt "Pick one or more:" with multiple selections allowed
if r is not false then
tell application "ASObjC Runner" to set r to (look in list ListOfSelections matching items r)
end if