Re: (Repost) Distributing 'recreatored' script apps...
Re: (Repost) Distributing 'recreatored' script apps...
- Subject: Re: (Repost) Distributing 'recreatored' script apps...
- From: Jon Pugh <email@hidden>
- Date: Mon, 25 Nov 2002 21:20:34 -0800
At 7:10 PM -0600 11/25/02, Peter Bunn wrote:
>
I've been creating script applications which, as near as I can tell,
>
_require_ changes to both creator type and BNDL signature in order to
>
work properly in the context which they're used.
The desktop database is a black art.
Basically, you are trying to give your application a custom creator code, a BNDL resource, a FREF resource, a creator resource and set its bundle bit. Once you do that, you should rebuild your desktop and then everything will be fine. If it is not, then there is something wrong with your code, BNDL, creator resource or bundle bit.
ResEdit should create your creator resource when you create the BNDL resource. The creator resource is a non-empty (typically just a space or copyright notice) resource with the same type as your creator code.
The BNDL and FREF resources identify the icon your application should use and should be set up correctly by ResEdit, as should the icons themselves.
You should not use IconFix, as that will mask the problem by slamming proper data on top of potentially bad data. You should rebuild your desktop instead.
In case of trouble, sacrifice a chicken and sprinkle the feathers over your head.
Good luck.
Jon
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.