• 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
Re: Transliteration, TextCommands osax
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Transliteration, TextCommands osax


  • Subject: Re: Transliteration, TextCommands osax
  • From: Paul Berkowitz <email@hidden>
  • Date: Thu, 20 Nov 2008 01:08:07 -0800
  • Thread-topic: Transliteration, TextCommands osax

TextCommands is not an osax, it's an app. (If you set the Finder to display
extensions, you'll see it's TextCommands.app). You have to put its commands
in a tell block to compile.

tell application "TextCommands"
    convert linebreaks someText to Windows format
end tell


--
Paul Berkowitz


> From: Sander Tekelenburg <email@hidden>
> Date: Thu, 20 Nov 2008 09:47:58 +0100
> To: AppleScript-Users <email@hidden>
> Subject: Transliteration, TextCommands osax
>
> I need to convert a document from MacRoman with Mac linebreaks to 'Western
> Windows Latin1' with DOS linebreaks.
>
> Hamish 'has' Sanderson's TextCommands osax seemed like the right tool for
> that job. But after installing the osax, the example from the documentation
> "set winStyleText to convert linebreaks anyText to Windows format" doesn't
> even compile.
>
> Tried on two different PPC machines under 10.4.11. TextCommands osax
> installed in ~/Library/ScriptingAdditions (also tried
> /Library/ScriptingAdditions). Another osax, Satimage, works fine.
>
> I'm hoping the problem with TextCommands can be fixed. But if not, how do
> others script transliteration?
>
>
> --
> Sander Tekelenburg, <http://www.euronet.nl/~tekelenb/>
>  _______________________________________________
> 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


 _______________________________________________
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

  • Follow-Ups:
    • Re: Transliteration, TextCommands osax
      • From: Sander Tekelenburg <email@hidden>
References: 
 >Transliteration, TextCommands osax (From: Sander Tekelenburg <email@hidden>)

  • Prev by Date: Re: Transliteration, TextCommands osax
  • Next by Date: Re: Transliteration, TextCommands osax
  • Previous by thread: Re: Transliteration, TextCommands osax
  • Next by thread: Re: Transliteration, TextCommands osax
  • Index(es):
    • Date
    • Thread