Page 1 of 1

Double the fun

Posted: Tue Feb 02, 2021 3:30 am
by dalkin
Can anyone replicate a situation where, using Parallels on a Mac (or not) double-clicking the Windows .exe of your app opens your file as expected, but double-clicking the .exe of your app again opens another instance of your app ie. two windows?
Screen Shot 2021-02-02 at 1.20.54 pm.jpg

Re: Double the fun

Posted: Tue Feb 02, 2021 4:14 am
by FourthWorld
New to Windows? That's a "normal" behavior; whether to open a new app instance when a document is clicked is left up to the app designer.

In LiveCode, your first app instance will get a "relaunch" message; you can open it in that instance, or if you don't handle it within your app Windows will launch a second instance.

More in the Dictionary entry for the relaunch message:
https://livecode.com/resources/api/#liv ... t/relaunch

Re: Double the fun

Posted: Tue Feb 02, 2021 5:40 am
by dalkin
Thanks Richard. Much appreciated. So much to learn, so little time.