|
From: Daniel A. S. <da...@us...> - 2009-08-17 16:48:31
|
On Mon, Aug 17, 2009 at 16:35, Kevin Walzer<kw...@co...> wrote:
> On 8/17/09 10:30 AM, Daniel A. Steffen wrote:
>> don't have time to look into the various other AS issues/questions ATM
>> unfortunately but I do know how to fix this one, it is caused by
>> AppleScript 2.0 switching to unicode text (in Leopard IIRC), and
>> because tkMacOSXHLEvents.c is checking specifically if 'TEXT' (i.e.
>> text in the carbon system encoding, usually mac roman) was passed in,
>> the automatic coercion handlers between unicode text 'txtu' and system
>> encoding do not kick in. This is easy to fix, will try to get this
>> committed soon.
patch attached that fixes this for me and also fixes the other option
of passing an alias to a script file, i.e.
tell application "Wish"
do script ("HD:some:path:to:x.tcl" as alias)
end tell
please verify
>> as far as a replacement for 'aete' is concerned, we will definitely
>> need a .sdef for TkAqua Cocoa to replicate the old functionality,
>> contributions by you or Philip much appreciated...
>
> I was just playing around with this today, using SDEF Editor--I just
> extracted the .rsrc file from an older build of Wish and converted it. Would
> the attached work?
yup, seems to work fine, thanks, integrated in patch
Cheers,
Daniel
|