From 5b302ccd7f4c2f7b3f332459fe9c1440ee778cc9 Mon Sep 17 00:00:00 2001 From: "DHR.Mike" Date: Thu, 11 Dec 2025 12:16:02 -0800 Subject: [PATCH] Update Uptated-Prototype/PiperTTS-GUI-Test.py --- Uptated-Prototype/PiperTTS-GUI-Test.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Uptated-Prototype/PiperTTS-GUI-Test.py b/Uptated-Prototype/PiperTTS-GUI-Test.py index def2280..8771f8a 100644 --- a/Uptated-Prototype/PiperTTS-GUI-Test.py +++ b/Uptated-Prototype/PiperTTS-GUI-Test.py @@ -230,11 +230,13 @@ def OnKeyPress(event): print("The Binding Function Was Called!") # def OnKeyPress2nd(event): - result = Input_Box.count("1.0", "end-1c", "displaylines") + result = Input_Box.count("1.0", "end-1c", "displaylines")[0] print(result) print("The 2nd Binding Function Was Called!") # Input_Box.bind("", OnKeyPress2nd) +Input_Box.bind("", OnKeyPress) + # My_Test_Label2 = Label(Controls_Box_Frame, textvariable=Test_var) #My_Test_Label2["value"] = Test_var