Approved: Fortect
In this article, we’re going to identify some of the possible causes that a right-click on the taskbar might cause, and then suggest possible solutions that you can try to fix the problem.
I was hoping you could get my usual help here in an awkward position. I’ve spent several days researching these types of forums elsewhere, but I may not be able to find many specific answers to my needs. I may well forget something simple.
Finally I want to try AutoIt, right click on one icon in the taskbar and open your menu. Here is the information I am getting completely from the taskbar area:
Approved: Fortect
Fortect is the world's most popular and effective PC repair tool. It is trusted by millions of people to keep their systems running fast, smooth, and error-free. With its simple user interface and powerful scanning engine, Fortect quickly finds and fixes a broad range of Windows problems - from system instability and security issues to memory management and performance bottlenecks.
>>>> Window <<<<
Title:
Class: Shell_TrayWnd
Position: 0, 1040
Size: 1920, 40
Style: 0x9600000
ExStyle: 0x00000088
Descriptor: 0x00010316
>>>> Control <<<<
Class: ToolbarWindow32
Instance: 3
Class nameNN:Name:
Advanced (class): [CLASS: ToolbarWindow32; INSTANT: 3]
ID: 1504
Text: Notification area for user-sponsored advertisements
Position: 1683, 0
Size: 120, 40
ControlClick coordinates: 27, 15
Style: 0x56008B4D
ExStyle: 0x00000080
Descriptor: 0x00010340
>>>> Toolbar <<<<
1: 2 Ninite Updater – Last update checked: 1/28/2020 1:43 PM
Updates available: Glary, Notepad ++
2: 3 OneDrive – POS Oregon
CurrentNd
3: 4 Dropbox 89.4.278
Waiting to be linked to Dropbox, main account …
4: Network 1A
Internet access
5: 0 Speakers: 14%
>>>> Visible text <<<<
Start
Enter here to search
Enter your search list here
View Tasks
Launching Applications
Launching Applications
HPSA_TASKBAR
System progress notification area
Notification area for advertising users
System Clock 15:16, 1-28 / 2020
Event center
I know I can use ControlClick to right click on objects, but unfortunately in my life I haven’t been able to figure out how to get it so that you can right click on a specific icon in the taskbar area, there might be a way to pass codes from “ToolsBar” section in ControlClick …?
Also, I would only use the coordinates on the screen, but I need them to work in different internet environments, which may not always be the same. For this reason, I have to work with the specific ID of the actual icon on the taskbar.
Does anyone know where I get this from ?? I’ve tried billions of different typesThe ControlClick bindings and provided so much different information from the window messaging tool … I just can’t get to it by doing the damn thing.
I’m using a modified version of this software in the morning to turn on / off the macro switcher for the Input Director, which is usually available from the context menu when you navigate to the entire toolbar icon. Input Director state (Input Director has an excellent utility for working with computers on a network with one keyboard and one mouse). Thanks to Melba23 for the fantastic script combined with Eugene Egiazarov for your additions / corrections:
# Region; **** Created by - AutoIt3Wrapper_GUI ****# AutoIt3Wrapper_Compile_Both = y# AutoIt3Wrapper_UseX64 = y#EndRegion; **** Instructions created by AutoIt3Wrapper_GUI ****#include;; AutoIt version: 3.0; French; Platform: Win9x / NT; Author: Melba23 (edited by Chakko Kovur);; Script function:; Enables / disables macros (toggle) to compile the Input Director that appears when you right-click the taskbar icon with confirmation;#include #include #include # Include #include Opt ("WinTitleMatchMode", 2)Global $ hSysTray_Handle, $ iSystray_ButtonNumber, $ sItemNameGlobal $ sToolTipTitle = "Input Director (Master)" - <<<<<<<<<<<<<<<<< Enter the tooltip text for the desired character here$ iSystray_ButtonNumber = Get_Systray_Index ($ sToolTipTitle)If $ iSystray_ButtonNumber = -1 Then MsgBox (16, "Error", "The icon was probably not found in the system tray")To leaveAnotherSleep (250)A; Right click and just select the fourth menu item (see above). _GUICtrlToolbar_ClickButton ($ hSysTray_Handle, $ iSystray_ButtonNumber, "right")Sleep (1000) Send ("UP by 4") $ sItemName = GetPopUpSelText (); It also brings up <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< <<< <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< <<<<< <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 6 then ExitLoopNext If $ iSystray_ButtonNumber = $ iSystray_ButCount then Return Get_OverflowSystray_Index ($ sToolTipTitle)Otherwise Returns $ iSystray_ButtonNumber; Find endFinFuncFunc Get_OverflowSystray_Index ($ sToolTipTitle) $ hSysTray_Handle = ControlGetHandle ('[Class: NotifyIconOverflowWindow]', '', '[Class: ToolbarWindow32; Instance: 1]') $ iSystray_ButCount stands for _GUICtrlToolbar_ButtonCount ($ hSysTray_Handle) If $ iSystray_ButCount = 0, then MsgBox (16, "No 'error', items found in the policy panel") Exit End If For $ iSystray_ButtonNumber = 0 to $ iSystray_ButCount - 1 If StringInStr (_GUICtrlToolbar_GetButtonText ($ hSysTray_Handle, $ iSystray_ButtonNumber), $ sToolTipTitle) <> 0 Then ExitLoopNext EIf $ iSystray_ButtonNumber <$ iSystray_ButCount, then $ hSysTray_OverflowButton = ControlGetHandle ('[Class: Shell_TrayWnd]', '', '[CLASS: Button; INSTANT: 1]') _GUICtrlButton_Click ($ hSysTray_OverflowButton) Returns $ iSystray_ButtonNumber; FindOtherwise Back -1 End IfFinFuncGetPopUpSelText () function Local $ aPopUp_List implies _WinAPI_EnumWindowsPopup () Local $ hWnd = $ aPopUp_List [1] [0] Local $ sClass = $ aPopUp_List [1] [1] If $ sClass = "# 32768" Then; This is the most recent "standard" Windows API context menu. $ hMenu = _SendMessage ($ hWnd, $ MN_GETHMENU, 0, 0) If _GUICtrlMenu_IsMenu ($ hMenu) Then $ iCount stands for _GUICtrlMenu_GetItemCount ($ hMenu) From $ j = 0 to $ iCount - 1 If _GUICtrlMenu_GetItemHighlighted ($ hMenu, $ j) then Return _GUICtrlMenu_GetItemText ($ hMenu, $ j) endNext end end Back ""FinFunc
Now I want this program to be able to enter the keyboard shortcut option so that as soon as the script I
Speed up your computer's performance now with this simple download.