Newbie Help

If I run a do shell script through Terminal such as repair diskpermissions how do I get it to display results back into my Applescipt application?

Please help I’m finally getting somewhere with xcode and the interface builder but I’m stuck on this.

You want to open up the scripting dictionary for Standard Events. Then view the Miscellaneous Commands for do shell script.
You will run this kind of script:

with timeout of 1000000 seconds
do shell script ¬
"sudo diskutil repairPermissions /" password "adminPassword" with administrator privileges
on error errormsg
display dialog errormsg --in case anything goes wrong
end try
end timeout

“Standard Additions” (just in case)