System.createAppLock

Function/Meaning

[Windows +] Double boot check

Type
Systemclassmethod of
Syntax
createAppLock(key)
Arguments
key

Specify the key string to perform the check. If the same key string was specified for this method by another running Kirikiri, false is returned.
Consider that you can basically use only the same characters in the key string as the TJS variable naming convention.
The key string must be unique enough.

Return value

If Kirikiri, which already has the same key string, is running, false is returned, otherwise true is returned.

Explanation

If another Kirikiri with the same key string is running, false is returned, otherwise true is returned.
It is used to prevent double startup.