|
From: Kevin W. <kw...@co...> - 2009-08-17 22:57:07
|
Hi Daniel,
On 8/17/09 12:48 PM, Daniel A. Steffen wrote:
> 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
Patch applied OK and Tk builds fine, I see the sdef in the app bundle.
Not sure about the output of this script:
tell application
"/Users/kevin/tcl-tk-86/embedded/Applications/Utilities/Wish.app"
activate
do script "info patchlevel"
quit
end tell
The output of this is "missing value." Not what I expected. Am I doing
something wrong in sending the Tcl command?
>
>>> 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
>
I see the sdef in the app bundle, thanks. I do notice this blows away
the previous Cocoa-standard dictionary (standard suite and text
suite)--is this a problem? Not sure how relevant these things are to a
Tk app, especially since basic Apple events are supported in
TkMacOSXHLEvents.c.
Once this is final, can you please commit this to de-carbon-85 as well?
Thanks,
Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
|