• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to convert a MAC text file to PC encoding?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to convert a MAC text file to PC encoding?


  • Subject: How to convert a MAC text file to PC encoding?
  • From: "Patrik B." <email@hidden>
  • Date: Sat, 5 May 2007 03:57:36 -0700

I made a script that makes text files out of my indesign files for spell
checking purposes. However all my text files are MAC encoded. So I was trying
to make a text edit script that loops through the text files and simply
resaves them as Western PC Latin 1 encoding as that is what I do manually to
make it work. But I don't seem to be able to do it via a script.

Any ideas on how I can reword the below to create a PC text file?

repeat with j in mylist
	tell application "TextEdit"
		open file j
		save as Unicode text in j -- I need the proper wording here
		close document 1
	end tell
end repeat

My translator usually spell checks her translation in word on a PC so that's
why I need this conversion to work.

Best, Patrik
 _______________________________________________
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

  • Prev by Date: How to compare contents of a folder against a list?
  • Next by Date: Re: It was two years ago
  • Previous by thread: Re: It was two years ago
  • Next by thread: Re: iTunes hook
  • Index(es):
    • Date
    • Thread