Basics of AppleScript

Opening Folders

Script [12.2.1]:

tell application "Finder"
    open "Macintosh HD:Users:nayan:Desktop"
end tell

Explanation: The above set of commands ask Finder to open Desktop folder. I have provided the exact location to the Desktop folder on my Mac Pro.

Figure 12.2.1

Figure 12.2.1 Open Folder