how can i create a text file at desktop using apple script?
my code
tell application "TextEdit"
make new document at desktop
end tell
error "“TextEdit”遇到一个错误:不能将“desktop”转换为“location reference”类型。" number -1700 from desktop to location reference
what's location reference?
how can i fix this problem?
thank you