TextEdit Save Problem
TextEdit Save Problem
- Subject: TextEdit Save Problem
- From: Thomas Maffucci <email@hidden>
- Date: Tue, 22 Jan 2013 16:57:50 -0500
- Thread-topic: TextEdit Save Problem
This script works fine under Leopard Mac os 10.5 but does not function under
Mt Lion 10.8.
Get error msg "The document 'untitled' could not be save as "FedFiletxt".
You don't have permission". What must I change to make it function under MT
Lion.
tell application "TextEdit"
set filelst to {"FedMangrealtxt"}
repeat with File_item in filelst
activate
set Tithdr to File_item
make new document at the front
set the text of the front document to getpage as text
save the front document in "Macintosh
HD:Users:Thomas:Desktop:Work:" & Tithdr
close the front document saving no
end repeat
--delay 3
--open "Macintosh HD:Users:Thomas:Desktop:Work:" & Tithdr
end tell
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden