If I run a do shell script through Terminal such as repair diskpermissions how do I get it to display results back into my Applescript application?
Please help I’m finally getting somewhere with xcode and the interface builder but I’m stuck on this.
set the_result to do shell script …
display alert “Results” & return & the_result
the_result is a string of whatever the feedback was (well most of it depending on how its set up, but this should do fine). You can do whatever you want with the_result after you get it, the display alert is just to show you that you have it.