Re: Write my own library/extension or create package that calls external program?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: Write my own library/extension or create package that calls external program?

From: Cameron Laird <claird@lairds.us>
Date: Sun Mar 05 2006 - 20:08:26 CET

In article <440B149B.5050608@wordtech-software.com>,
Kevin Walzer <sw@wordtech-software.com> wrote:
>Sean Woods wrote:
>
>> I completely missed that 99% of what you were intersted in was fiddling
>> with the icons.
>> Back in classic we had the resource command to frob them. After a
>> couple of minutes
>> of fruitless searching it does seem that we have to go outside for
>> that.
>>
>
>Yup, that's what I'm really interested in.
>
>I think I know what would be needed to get this working in Tcl:
>
>*a Tcl wrapper for the Mac's Carbon LaunchServices and IconServices
>API's, to allow getting default icons for various file types and
>applications
>
>*a Tcl extension that can read the .icns file format
>
>Problem is, my rudimentary skills in C are nowhere near adequate to
>either of these tasks. :-(
>
>osxutils, however, handles both of these issues beautifully--the
>"geticon" tool solves all of my problems, though it's probably a bit slow.
                        .
                        .
                        .
I'm not bashful at all about [exec]ing third-party
software, if it helps me supply functionality quicker.
I worry little about the upgrade cycle of the third-
party software; that's at least as predictable as what
clients are likely to demand.
Received on Sun Apr 30 02:23:59 2006