Advertisement
isuelt

Close InSlimVML message popup

Mar 4th, 2021
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. ; by Isuelt
  2. ; AutoHotKey Script to close the popup message window for InSlimVML
  3. ; take it, change it, do better
  4. ; Compiled EXE version available here : https://u.pcloud.link/publink/show?code=XZJb8fXZWzL2vcapCyH83C65oMuoYk2G6gR7
  5.  
  6.  
  7. I_Icon = meat_popsicle_avatar_3h3_icon.ico
  8. IfExist, %I_Icon%
  9. ;---- Alter the tray icon menu:
  10. Menu, Tray, Add
  11. Menu, Tray, Icon, %I_Icon%
  12. Menu, Tray, NoStandard
  13. Menu, Tray, Color,4B4C4F,
  14. Menu, Tray, Tip, Close InSlimVML Message Window
  15. ;Menu, Tray, Add, Quit - Close InSlimVML Message Window, CloseApp
  16. Menu, Tray, Add, &Exit, k_MenuExit
  17. ;return
  18.  
  19. ;@Ahk2Exe-SetCompanyName Isuelt
  20. ;@Ahk2Exe-SetVersion 1.0.0.1
  21. ;@Ahk2Exe-SetName InSlimVML_Closer
  22. ;@Ahk2Exe-SetProductName InSlimVML_Closer
  23. ;@Ahk2Exe-Cont /ScriptGuard2
  24.  
  25. #Persistent
  26. SetTimer, ClosePopup, 500
  27. return
  28.  
  29. #SingleInstance, Force
  30. Gui, -Caption -Border
  31. Gui, Show, w0 h0, Close InSlimVML Message Window
  32. return
  33.  
  34. ClosePopup:
  35. SetTitleMatchMode, 2
  36. Sleep 1000
  37. WinClose, InSlimVML v0.
  38. return
  39.  
  40. ; Exit the script (via Escape when active, the window's x button, or system tray Exit option).
  41. GuiEscape:
  42. GuiClose:
  43. k_MenuExit:
  44. ExitApp
  45.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement