On 31/5/00 7:57 pm, Karl Becker <[EMAIL PROTECTED]> wrote:
> Okay, I'm just finishing up this word processing program (which may
> be of interest to the MetaCard community... more on this in just a
> couple of days) , but I'm having one problem with it.
> I build an application out of it, and I set its creator type as a
> custom type ( "NTTX" in this case ) . Now, when I save a
> word-processing file from the program, I set its file type as
> "NTTXNTTX" , and everything works fine. However, when I double-click
> the file in the Finder, it opens up the application, but it, of
> course, won't load the file of creator/file type "NTTXNTTX".
> My question is: is there a message that's sent to a stack when you
> double-click a file in the finder and it opens in the application?
> Something like "openFile" instead of "openStack" or something... I
> just need to intercept the filepath so I can do the appropriate stuff
> with the file's contents (displaying it in the main word-processing
> field and such) .
>
> Hope I explained this well enough... if not, just say.
This is the "appleEvent" message. Try placing it in your stack (or if you
have multiple stacks put it in a back/front script to be sure of getting it)
and check the parameters.
Regards,
Kevin
> --
> Karl Becker, KB Productions | Featuring Tiger's Eye Casino,
> http://www.karlbecker.com | The Fishin' Hole, & One Boring Month...
> |
> | Also featuring un-cut writings of Karl!
Kevin Miller <[EMAIL PROTECTED]> <http://www.xworlds.com/>
Cross Worlds Computing, MetaCard Distributors, Custom Development.
Tel: +44 (0)131 672 2909. Fax: +44 (0)1639 830 707.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.