System.createAppLock

機能/意味
Check for double startup
タイプ
Systemクラスのメソッド
構文
createAppLock(key)
引数
key  Specify the key string for checking. If another running Kirikiri has specified the same key string in this method, false is returned.
 Consider that the key string can basically use only the same characters as the TJS variable naming rules.
 The key string must be unique enough.
戻り値
Returns false if Kirikiri is already running with the same key string, true otherwise.
説明
 Returns false if another key string is running, and true otherwise.
 Used to prevent double start.