setting the icon of a project
How do I set the icon of a project by script ?
I thought that creating an icns resource with ID = -16455 was enough. This indeed works for changing the icon once it has been set in the info wd of the Finder but not for setting the icon for the first time. Obviously, there is something else to do to inform the Finder of using this icon in the resource instead of the generic icon for this type of file. But I don't know what. AS, Shell ?
S.
I thought that creating an icns resource with ID = -16455 was enough. This indeed works for changing the icon once it has been set in the info wd of the Finder but not for setting the icon for the first time. Obviously, there is something else to do to inform the Finder of using this icon in the resource instead of the generic icon for this type of file. But I don't know what. AS, Shell ?
S.