Here is an example of Applescript code:
do shell script "osascript -e 'tell application \"Safari\" to activate'"
do shell script "osascript -e 'tell application \"Safari\" to launch'"
Is there any difference in the behavior of these two commands?
Because, to my eyes, it appears that they accomplish exactly the same effect.
Best Answer
From the Commands Reference section of the AppleScript Language Guide: