Opening custom files by Drag and Drop in standalone application
Jan Schenkel
janschenkel at yahoo.com
Thu Jan 20 01:24:04 EST 2005
--- Ken Ray <kray at sonsothunder.com> wrote:
> On 1/18/05 11:55 AM, "Alejandro Tejada"
> <capellan2000 at yahoo.com> wrote:
>
> > I have read this useful Programming tip in your
> > website, and TRY to use it in an standalone
> > player to OPEN ONLY the custom documents of that
> > application.
> >
> > But when i drag and drop a Rev or MC stack to a
> > standalone i had created, IT OPENS... :-(
>
> Yes, and this may be a bug (I tested Windows) - you
> get the path to the
> stack you dropped in $1, but you don't get any
> messages to trap to prevent
> that stack from opening... I tried trapping
> preOpenStack and openStack, and
> it only triggers for the application, not the
> document stack that is
> opening.
>
> I think you should log this as a bug, unless someone
> has an answer for
> this...
>
Could it be that the engine regards this as a separate
mainStack and that's why the "regular" mainStack
doesn't receieve any messages ; have you tried
trapping (pre)OpenStack messages from a backscript ?
Jan Schenkel.
=====
Quartam - Tools for Revolution
<http://www.quartam.com>
=====
"As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld)
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo
More information about the use-livecode
mailing list