Double the fun

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
dalkin
Posts: 183
Joined: Wed Jul 04, 2007 2:32 am
Contact:

Double the fun

Post by dalkin » Tue Feb 02, 2021 3:30 am

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
The underlying purpose of Al is to allow wealth to access skill
while removing from the skilled the ability to access wealth.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10043
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Double the fun

Post by FourthWorld » Tue Feb 02, 2021 4:14 am

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
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

dalkin
Posts: 183
Joined: Wed Jul 04, 2007 2:32 am
Contact:

Re: Double the fun

Post by dalkin » Tue Feb 02, 2021 5:40 am

Thanks Richard. Much appreciated. So much to learn, so little time.
The underlying purpose of Al is to allow wealth to access skill
while removing from the skilled the ability to access wealth.

Post Reply