Saving BBEdit Text Files
Saving BBEdit Text Files
- Subject: Saving BBEdit Text Files
- From: Mark Kot <email@hidden>
- Date: Thu, 27 Jan 2005 15:35:18 -0700
I have a folder named "Databases" on my desktop containing 400+ text
files saved from a pc.
My current procedure is to:
"Open" them in BBEdit one at a time > select "Save As" > choose
"Options" > select Macintosh for "Line Breaks" > "Save" > "Replace".
I'd like to use AppleScript to automate this process. I got the
following script by using the "Record" option, but it obviously is
incomplete for all the files in the folder.
tell application "BBEdit 6.5"
activate
open {file "KOT OS X:Users:mkot:Desktop:
Databases:ACU-CL-00.txt"} with LF translation
save text window 1 to file "KOT OS X:Users:mkot:Desktop:
Databases:ACU-CL-00.txt"
close text window 1
end tell
Can someone put me on the right track?
Thanks,
Mark
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden