Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #coded, by Glauco Marques
- #19-04-11
- import win32gui, win32con
- janela = win32gui.FindWindow("SciCalc","Calculadora")
- print ("O Handle da janela e:")
- print (janela)
- ### Fecha o programa...
- print("Destruir..")
- win32gui.SendMessage(janela, win32con.WM_DESTROY)
- ### Ou mostra o programa...
- print("ou mostrar...")
- win32gui.SendMessage(janela, win32con.WM_SHOW)
Add Comment
Please, Sign In to add comment