Hi Bob, > Am 12.10.2023 um 17:36 schrieb Bob Sneidar via use-livecode > <use-livecode@lists.runrev.com>: > > Hi all. > > I have a standalone that uses a splash stack, which upon launch displays a > startup graphic, then hides itself and opens the mainstack of my project. On > MacOS when I "quit" the entire application quits. On Windows however the > splash stack (which is the stack the standalone is built from) keeps running, > and if I re-launch the standalone it creates a second instance of the app in > memory. > > How do I get the standalone to quit when I close the mainstack in Windows?
add this to the script your mainstack: ------------------------- on closestack close stack "your splash stack here" ## do more closestack stuff end closestack ------------------------- That should do the trick. Hint: To avoid this "Windows feature: >> if I re-launch the standalone it creates a second instance of the app in >> memory. add a dummy handler to your standalone/splash stack script: ------------------------- on relaunch ## NADA! end relaunch ------------------------- > Bob S Best Klaus -- Klaus Major https://www.major-k.de https://www.major-k.de/bass kl...@major-k.de _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode