Basics of AppleScript

Reverse of List

Script [6.8.1]: set reverseList to reverse of {1, 2, 3}

Explanation: With the help of reverse keyword, we can reverse the list. The above statement will create a list named reverseList which will contain 3, 2 and 1.

Figure 6.8.1

Figure 6.8.1 Reverse a List