Re: Can I map custom characters to normal uppercase equivalents?
Re: Can I map custom characters to normal uppercase equivalents?
- Subject: Re: Can I map custom characters to normal uppercase equivalents?
- From: Tommy Bollman <email@hidden>
- Date: Tue, 15 Jun 2010 01:28:12 +0200
On 15. juni 2010, at 00.14, has wrote:
>
> Tommy Bollman wrote:
>
>> The problem is that I'm running 64 bit, and I can't get Satimage.osax to work. What I can do, however is to use Satimage.osax as a reference on
>
> Check you've got the latest version of Satimage.osax, which is 64-bit capable. (Older versions are 32-bit only.)
>
> +1 for delegating the problem to an existing third-party library, rather than trying to write your own (been there, junked that). Unicode is heinously complicated, and vanilla AppleScript is notoriously slow for any sort of moderate-to-heavy text crunching. Satimage is probably your best option; TextCommands should also work (although that's an FBA, not an osax, so will be significantly slower in heavy use due to the inter-process communication overheads). Or, you could even write your own: the code for a case-change osax is quite trivial (hint: use CFMutableString); you certainly don't need to be a C guru to scrape something together. If you're in a situation where installing third-party extensions isn't an option, then you could still shell out to (e.g.) Python, which is included in OS X as standard; it won't be super-fast, but it's simple and reliable.
>
> HTH
>
> has
Thanks a lot. I hadn't got that Smile have become 64-bit capable. I have currently version 3.4.2 installed, and didn't work very well
A junked project is as good as any project as long as the desired result is achieved.
He he he I should have checked out on Smile a litte bit earlier. :)
Best regards
Tommy Bollman
--------------------------------------------------------------------------------------------------
Mollison's Bureaucracy Hypothesis:
If an idea can survive a bureaucratic review
and be implemented it wasn't worth doing.
_______________________________________________
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