How to do these actions using AppleScript:
- launching the TextEdit program
- setting TextEdit to be plain text (not formatted), UTF-8
- creating an empty file
- writing clipboard contents to a file
- saving the file to the desktop
- closing the file
How to do these actions using AppleScript: