Opening custom files by Drag and Drop in standalone application

Jan Schenkel janschenkel at
Thu Jan 20 01:24:04 EST 2005

--- Ken Ray <kray at> wrote:
> On 1/18/05 11:55 AM, "Alejandro Tejada"
> <capellan2000 at> 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

"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. 

More information about the Use-livecode mailing list