We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1671cca commit 0865548Copy full SHA for 0865548
yukarinette_linker.v2.0.py
@@ -237,6 +237,15 @@ def restartServer(window):
237
if reloading:
238
print(datetime.now().strftime('%Y-%m-%d %H:%M:%S') + ' Vocaloid Editor window object reloaded.')
239
reloading = False
240
+ g = open('input.txt', "r", encoding='UTF-8')
241
+ inputData = g.readlines()
242
+ g.close()
243
+ if len(inputData) == 2:
244
+ playtime = int(inputData[1])*0.0015
245
+ window_v['tool_play'].click()
246
+ time.sleep(playtime)
247
+ window_v['tool_stop'].click()
248
+ window_v['tool_gototop'].click()
249
except:
250
if not reloading:
251
print(datetime.now().strftime('%Y-%m-%d %H:%M:%S') + ' Reloading Vocaloid Editor window object..')
0 commit comments