>>At 1:08 PM -0600 8/2/2000, Tereza Snyder wrote:
>>On the mac...
>>Has anyone figured out how to open a standalone by dragging one of its
>>files to it, or double-clicking one of its files, and then reading that
>>file? I've looked at the environment variables $0 and $1. $0 has the path
>>to the stack, but $1 is empty (MC2.3g8).
>>
>>Isn't that the way it's done in Windows?
> Dave Cragg wrote on 02.11.00 08:20 AM:
>Have you created/edited the necessary resources in the Mac standalone
>to link the application, the files, and the associated icons? The
>resources involved are BNDL and FREF (and any icon resources you
>need). You will also need to set the creator and file type strings
>for the relevant files.
>
I have done this, and if I click on a BNDL'd file it DOES launch the app
- but now the scripts need to know so they can read the file and do the
right thing (set the prefs, show the text, whatever...); I'm stuck!
>
>Does anyone know of an online guide for setting this stuff? Or is
>there an easier way to do all this?
>This can be a fiddly procedure.
It sure IS a fiddly procedure. I learned through trial and error and
Apple's "Inside Macintosh." Nowadays developer info for Apple is mostly
online. There's probably a FAQ somewhere on their site.
tereza
..................................
Tereza Snyder
Software Developer
Califex Studio LLC
www.califex.com
..................................
This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm