System.createAppLock

Function/Meaning
Check for multiple instances
Type
Method of the System class
Syntax
createAppLock(key)
Arguments
key Specifies a key string for checking. If another running instance of KiriKiri has specified the same key string to this method, false is returned.
Basically, assume that only characters following TJS variable naming conventions can be used for the key string.
The key string must be sufficiently unique.
Return Value
Returns false if another instance of KiriKiri with the same key string is already running, true otherwise.
Description
Returns false if another instance of KiriKiri with the same key string is already running, true otherwise.
Used to prevent multiple instances of the application from running.