compile windows app so only one instance will run

Devin Asay devin_asay at byu.edu
Tue Oct 22 11:44:23 EDT 2013


On Oct 22, 2013, at 8:28 AM, Björnke von Gierke wrote:

> there's a message that you need to handle. look up "relaunch" in the dictionary.
> 
> On 22.10.2013, at 16:21, Mike Kerner wrote:
> 
>> Is there any way to compile an app from LC for execution on Windows so that
>> only one instance of the app will run at a time?

Specifically, you need to handle the relaunch message and not pass it:

on relaunch
  ## do nothing
end relaunch

Devin
> 

Devin Asay
Learn to code with LiveCode University
http://university.livecode.com





More information about the Use-livecode mailing list