marabunta Posted November 4, 2015 Posted November 4, 2015 (edited) expandcollapse popupHi, This is what Window Info tells me: >>>> Window <<<< Title: Neue Benachrichtigung Class: Windows.UI.Core.CoreWindow Position: 664, 596 Size: 360, 132 Style: 0x94000000 ExStyle: 0x00200008 Handle: 0x0002023C >>>> Control <<<< Class: Instance: ClassnameNN: Name: Advanced (Class): ID: Text: Position: Size: ControlClick Coords: Style: ExStyle: Handle: >>>> Mouse <<<< Position: 846, 671 Cursor ID: 0 Color: 0x1F1F1F >>>> StatusBar <<<< >>>> ToolsBar <<<< >>>> Visible Text <<<< >>>> Hidden Text <<<<I want to automatically close the Notifications while installing.This is what I have and is not working:Local $hWnd = WinGetHandle("[CLASS:Windows.UI.Core.CoreWindow]") MsgBox(0,"",$hWnd) WinClose($hWnd) Local $hWnd2 = WinGetHandle("Neue Benachrichtigung") MsgBox(0,"",$hWnd2) WinClose($hWnd2)I dont know how to close it, it even appears in front of my splashimage.All handles are: 0x00000000Can anyone help me please?Thanks Edited November 4, 2015 by marabunta
EmilyLove Posted November 5, 2015 Posted November 5, 2015 Is it possible to hide it with WinSetState("Neue Benachrichtigung","",@SW_HIDE)See https://www.autoitscript.com/autoit3/docs/intro/windowsadvanced.htm and https://www.autoitscript.com/autoit3/docs/functions/WinSetState.htm
EmilyLove Posted November 5, 2015 Posted November 5, 2015 Also, if by any chance the other program with the toast you do not want to see is an autoit script as well, you can just use this to close the toast.;Creates Toast, Like a toaster. TrayTip("Toast", "I am yummy. You want to eat me but you can't for I am just pixels. =(", 5) Sleep(1000) ;Closes Toast. Opt("trayiconhide", 1);Momentarily hides AutoIt Tray Icon as TrayTip cannot function without a tray icon. Opt("trayiconhide", 0);Re-enables AutoIt Tray Icon. ;Check Results MsgBox(0, "CloseToast", "Toast should have closed.")
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now