You retrieve the environment variable $0. So if your Rev doc is
double-clicked and opens a Rev executable, you can (in the executable) say:

on preOpenStack
  if $0 is not empty then
    open stack $0
  end if
end preOpenStack

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/

----- Original Message -----
From: "Dan Friedman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 31, 2001 10:14 AM
Subject: Double-Clicking a file


> Greetings again,
>
> On the Mac, I can obtain information from the Finder to see what file the
> user double clicked so that I can open that file in my standalone (using
the
> creator/file code).  However, how does one do this in Windows?
>
> If my installer modifies the registry so that ".huh" files are opened with
> my application, and the user double clicks a ".huh" files, how do I trap
the
> incoming event from Windows?
>
> As always, thank you in advance for your time,
>
> Dan Friedman
> ClearVision Technologies, Inc.
>
> _______________________________________________
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
>

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to