ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> tdk-beta
tdk-beta
Re: [TDK-BETA] Questions about beta/OS X
by Andreas Kupries other posts by this author
Feb 15 2007 12:16PM messages near this date
view in the new Beta List Site
[TDK-BETA] Questions about beta/OS X | Re: [TDK-BETA] Questions about beta/OS X
>  I am testing the TDK beta for OS X and I had a couple of questions:
> 
>  1. Is there a way to specify a custom icon for Mac OS X application
bundles?

Yes.

>  I can't seem to find it in the documentation or in the GUI. The custom
icon

It is not documented yet. This part is in flux as well, more a hack.

>  in tclapp seems to apply to the actual basekit, not to a Mac app bundle.

Go to the panel 'meta data'.

Use the keys

	osx,info		OS X information string for the bundle
	osx,id		OS X identifier for the bundle
	osx,region		OS X Development Region	(Default: English)
	osx,sign		OS X Signature (4 char type code)

	osx,help		Name of Help Book Folder under English.lproj of the bundle

	osx,icon		Path of the .icns file to copy into the bundle
				The tail of that path is automatically used as the name
				of the icon.

	osx,version		CFBundleVersion
	osx,shortversion	CFBundleShortVersionString


>  2. More generally,  is there away to specify additional resources to be
>  included in the application bundle, such as help documents?

	The osx,help specifies only the folder to register in the info.plist,
	The copying has to be done outside the wrapper.

	Generally currently no further help for doing this.


>  It is certainly possible to add these items after the build is done by
>  copying them to the app bundle and modifying the info.plist file--this is
>  what I do now with custom wrapping/build scripts--but I think it would be
>  good for TDK to include this functionality "out-of-the-box" on OS
>  X. This is something Mac developers expect from their IDE's, such as
Xcode.

I am not sure if I would consider the wrapper to be comparable to an IDE.

Neverthless. What resources beyond Help are you thinking about, and how
would you go on specifying this in the UI ?


Regarding Icons, do you know if there is Tcl code, or other extension around
for handling .icns files ?
Display, file type detection, maybe decoding (list of icons inside, sizes,
etc.) ?


--
	Andreas Kupries <andreask@[...].com> 
	Developer @ http://www.ActiveState.com
	Tel: +1 778-786-1122


_______________________________________________
Tdk-beta mailing list
Tdk-beta@[...].com
http://listserv.ActiveState.com/mailman/listinfo/tdk-beta
Thread:
Kevin Walzer
Andreas Kupries
Kevin Walzer
Jeff Hobbs

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved