On Sep 02, 2014, at 04:27, emile.a.schwarz < email@hidden> wrote: All three gaves me the same (bad) results.
Some hours and some boots later: still does not works on all three synonyms (text, string and Unicode text).
______________________________________________________________________
Hey Emile,
Don't spend hours and many boots monkeying with a problem. If you can't get near solving it in an hour, you're better off asking questions.
Yes. The Finder doesn't like character id.
So either pull it out of the Finder tell block or reference AppleScript as I've done below.
---------------------------------------------------- tell application "Finder" set i to 32 set zeResult to "" set zeChar to "" repeat 200 times set zeChar to AppleScript's character id i set zeResult to zeResult & tab & zeChar & return set i to (i + 1) end repeat return zeResult end tell ----------------------------------------------------
There's really no real point at all in having that code within a Finder tell block.
But if you feel you must you can also do something like this:
---------------------------------------------------- on charID() set i to 32 set zeResult to "" set zeChar to "" repeat 200 times set zeChar to character id i set zeResult to zeResult & tab & zeChar & return set i to (i + 1) end repeat return zeResult end charID ---------------------------------------------------- tell application "Finder" charID() of me end tell ----------------------------------------------------
-- Best Regards, Chris
|