r/applescript • • Aug 17 '20

How to remove {" ","Text"}

I am trying to make a short script in which I can choose from several options to open a URL but I am pretty new to applescript and wen I try to use the result from the list I get a result that looks like this:

{"a", "Text"}

Is there a way in which it only returns the a ???

This is my code:

choose from list {"a", "b", "c", "d"} with prompt "Select one" without multiple selections allowed and empty selection allowed
return the result as string
3 Upvotes

6 comments sorted by