Here is some simplified code. Let's just say that, for reasons not relevant to this example, I want to make the root window active, not just on top.
from tkinter import *
import time
root = Tk()
def wake():
time.sleep(3)
root.attributes("-topmost", True)
root.attributes("-topmost", FALSE)
button = Button(root, text='Bring Forth!', command=wake)
button.pack()
root.mainloop()
When you press the button and go to another application, it reappears on top, but not "active", like the "tk" title and menu buttons are gray until you click somewhere on the GUI. I know it seems weird, but it would be very helpful. Thank you