Avoiding multiple instances of a running Rev app

Devin Asay devin_asay at byu.edu
Thu Apr 30 11:06:30 EDT 2009


On Apr 30, 2009, at 6:20 AM, Richard Miller wrote:

> I'm sure this has been discussed somewhere before, but I can't quite
> find the reference.
>
> How can I have a Rev app on Windows (XP or Vista) check during opening
> to see if another instance of the app is already running on that
> computer? I don't want multiple instances of the same app.


All you have to do is block the relaunch message:

on relaunch
   ## block - not passing relaunch kills the new instance
end relaunch


Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University




More information about the use-livecode mailing list