[MACTCL] Launch Services wrapper--which part of API?
by Kevin Walzer other posts by this author
Oct 16 2005 4:28PM messages near this date
[MACTCL] unicode/tkinter difficulties on macosx
|
[MACTCL] Tcl keyword coloring
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I've been digging into the Launch Services API documentation in
considering how to approach generating a Tcl-Mac wrapper for it, and am
wondering if anyone has recommendations about which part of the API
would be most appropriate. For instance, in the part of the API called
"locating an application," we have four different avenues we can take:
LSGetApplicationForItem (based on file-system reference)
LSGetApplicationForURL (based on item's URL)
LSGetApplicationforInfo (based on creator signature, file name
extension, etc.)
LSCopyApplicationForMIMEType (based on item's MIME type)
I don't really have time to devise wrappers for each of these functions:
I think it would be more productive to target the segment that, perhaps,
is already encompassed elsewhere in the Tcl/Mac code (for instance, how
is a file name defined--by FSReference, by URL, and so on). Finding the
function that yields the broadest coverage, even if it's not
comprehensive, is my goal here.
Any advice about this is appreciated. If it's critical to wrap the
entire API, then of course I will do so.
- --
Cheers,
Kevin Walzer, PhD
WordTech Software - "Tame the Terminal"
http://www.wordtech-software.com
sw at wordtech-software.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDUuHMJmdQs+6YVcoRAswTAJ9FeeAnH1xwxN5n8QpF3/IY2KlBDwCfS2tC
zoTEBL+vBYQrDPhbps2G+40=
=VGhj
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Tcl-mac mailing list
Tcl-mac@[...].net
https://lists.sourceforge.net/lists/listinfo/tcl-mac
|