show message for kktix.
parent
13517612c4
commit
e68b9da9c7
|
@ -7968,6 +7968,12 @@ def kktix_main(driver, url, config_dict, kktix_dict):
|
|||
if config_dict["advanced"]["play_sound"]["order"]:
|
||||
if not kktix_dict["played_sound_order"]:
|
||||
play_sound_while_ordering(config_dict)
|
||||
|
||||
if not kktix_dict["played_sound_order"]:
|
||||
if len(config_dict["advanced"]["kktix_account"]) > 0:
|
||||
print("搶票成功, 帳號:", config_dict["advanced"]["kktix_account"])
|
||||
print("基本資料與實名制網址:", url)
|
||||
|
||||
kktix_dict["played_sound_order"] = True
|
||||
|
||||
|
||||
|
|
|
@ -757,7 +757,7 @@ def get_default_config():
|
|||
config_dict["advanced"]["auto_reload_page_interval"] = 0.1
|
||||
config_dict["advanced"]["reset_browser_interval"] = 0
|
||||
config_dict["advanced"]["proxy_server_port"] = ""
|
||||
config_dict["advanced"]["window_size"] = "512,520"
|
||||
config_dict["advanced"]["window_size"] = "512,580"
|
||||
|
||||
config_dict["advanced"]["idle_keyword"] = ""
|
||||
config_dict["advanced"]["resume_keyword"] = ""
|
||||
|
@ -1341,7 +1341,7 @@ def play_mp3(sound_filename):
|
|||
playsound(sound_filename)
|
||||
except Exception as exc:
|
||||
msg=str(exc)
|
||||
print("play sound exeption:", msg)
|
||||
#print("play sound exeption:", msg)
|
||||
if platform.system() == 'Windows':
|
||||
import winsound
|
||||
try:
|
||||
|
@ -2740,10 +2740,6 @@ def check_maxbot_config_unsaved(config_dict):
|
|||
global txt_idle_keyword_second
|
||||
global txt_resume_keyword_second
|
||||
|
||||
style = ttk.Style()
|
||||
style.configure("redStyle.TCombobox", foreground="red")
|
||||
style.configure("greenStyle.TCombobox", foreground="green")
|
||||
|
||||
try:
|
||||
date_keyword = ""
|
||||
if 'txt_date_keyword' in globals():
|
||||
|
|
Loading…
Reference in New Issue