how can i create and write a simple textedit document with applescript
I want to let applescript write a document and save it on the desktop
Applescript
I want to let applescript write a document and save it on the desktop
Applescript
How about:
set theFile to ((path to desktop folder) as text) & "Script Test.rtf"
tell application "TextEdit"
make new document with properties {name:"Script Test", text:"It was a dark and stormy night..."}
save front document in file theFile
end tell
how can i create and write a simple textedit document with applescript