Pages

Wednesday, March 20, 2013

syntax for do shell script output displayed as list in applescript


Hi guys,


I am looking for the correct syntax for a


do shell script command in applescript,


where the results of the do shell script command are displayed as a list in applescript,


whereupon i can then choose one of these given results and move on from there, this is where i have gotten to:





my issue is that the results are as follows when done in terminal:



but when done in applescript i only see this:



obviously the terminal results need to be handled in some special manner that i am unaware of,


to handle each line in the terminal results as a single option in my list. Anyone got any idea how to do this?


cheers


View the original article here

0 comments:

Post a Comment