Re: Transliteration, TextCommands osax
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