Page 1 of 1

Twitchy finger syndrome

Posted: Thu May 27, 2021 3:48 pm
by richmond62
Cripes . . .

Here I am with a shed-load of 6-8 year old blobs working with standalones of mine on ancient PCs running Xubuntu 18.04
(last Xubuntu version available for 32-bit processors) and, because they are of the post "I want it now" generation
they click and click and click on the start icon of a standalone so as many as 12 instances launch. :evil:

Is there some sort of code that can be written inwith the original stack so only one instance of a standalone will launch?

Re: Twitchy finger syndrome

Posted: Thu May 27, 2021 3:56 pm
by bogs
I would mention relaunch, but apparently that is not universal.

Re: Twitchy finger syndrome

Posted: Thu May 27, 2021 4:15 pm
by Klaus
Hi Richmond,

add a dummy handler to the stackscript of your standalone:

Code: Select all

on relaunch
  ## Info: Will only work on Windows
  ## But won't hurt on Mac and NIX
end relaunch
That's it!


Best

Klaus

Re: Twitchy finger syndrome

Posted: Thu May 27, 2021 5:17 pm
by richmond62
Great: I'll run off a standalone and give it a try.

Re: Twitchy finger syndrome

Posted: Thu May 27, 2021 6:56 pm
by dunbarx
Klaus is giving a great example of burying a message. It is similar to:

Code: Select all

on  mouseUp
end mouseUp
Buries that message, and the question becomes where to put it.

Craig