Opening custom files by Drag and Drop in standalone application
Frank D. Engel, Jr.
fde101 at fjrhome.net
Wed Jan 19 08:30:32 CST 2005
-----BEGIN PGP SIGNED MESSAGE-----
I'd imagine you can fix this on a Mac by intercepting the apple event
which is sent to the stack.
Under Windows, you would need to check the $1 variable when starting
the standalone, or check the openStacks or some such, and if a stack is
specified, close it right away, display an error message, and quit?
(Just a guess)
On Jan 19, 2005, at 2:42 AM, Ken Ray wrote:
> On 1/18/05 11:55 AM, "Alejandro Tejada" <capellan2000 at yahoo.com> wrote:
>> on Mon, 17 Jan 2005
>> Ken Ray wrote:
>>> When you launch an MC/Rev app, any command line
>>> information is sent to the
>>> application and is retrievable via *environment
>>> variables* numbered $0 on up.
>> Hi Ken,
>> 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
>> 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
> that stack from opening... I tried trapping preOpenStack and
> openStack, and
> it only triggers for the application, not the document stack that is
> I think you should log this as a bug, unless someone has an answer for
> Ken Ray
> Sons of Thunder Software
> Web site: http://www.sonsothunder.com/
> Email: kray at sonsothunder.com
> use-revolution mailing list
> use-revolution at lists.runrev.com
Frank D. Engel, Jr. <fde101 at fjrhome.net>
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten
Son, that whosoever believeth in him should not perish, but have
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
-----END PGP SIGNATURE-----
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
More information about the use-livecode