sulfur Posted October 16, 2020 Share Posted October 16, 2020 (edited) I running this script to get buttons number and close some of them then #Include <GuiToolBar.au3> $hSysTray_Handle = ControlGetHandle('[Class:Shell_TrayWnd]', '', '[Class:ToolbarWindow32;Instance:1]') $iSystray_ButCount = _GUICtrlToolbar_ButtonCount($hSysTray_Handle) I expect that $iSystray_ButCount will contain number of buttons in system tray, but it is equal to 1 after the script. How I can get system tray buttons to close some of them? PS: I found this old topic but it doesnt work as is Edited October 16, 2020 by sulfur explained more Link to comment Share on other sites More sharing options...
sulfur Posted October 16, 2020 Author Share Posted October 16, 2020 ok, I got the solution. My Systray instance is 3 not 1. We may close the topic. Link to comment Share on other sites More sharing options...
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