ArgoBJ Posted October 12, 2009 Share Posted October 12, 2009 First off, I don't know if this is even possible. Essentially, I want to click on a system tray icon even though the system tray will be hidden. Any help, even if it points me away from AutoIt would be greatly appreciated. I have a program, PC Charge Payment Server, that minimizes to a system tray icon. To get back to the GUI, you need to double click the system tray icon which then brings up a pop up window where you click "OK" or "Cancel". Upon clicking "OK" the GUI comes up. We are beginning to use an application that hides the Explorer interface and therefore the system tray is inaccessible. I was hoping to use AutoIt to write an executable that would simulate clicking on the system tray icon. When I mouse over the icon, it says "PCCharge". The Window Info Tool gives me the following info: >>>> Window <<<< Title: Class: Shell_TrayWnd Position: -2, 740 Size: 1028, 30 Style: 0x96840000 ExStyle: 0x00000188 Handle: 0x00030048 >>>> Control <<<< Class: ToolbarWindow32 Instance: 1 ClassnameNN: ToolbarWindow321 Advanced (Class): [CLASS:ToolbarWindow32; INSTANCE:1] ID: Text: Notification Area Position: 852, 2 Size: 108, 18 ControlClick Coords: 8, 6 Style: 0x56008B4D ExStyle: 0x00000080 Handle: 0x00010064 >>>> Mouse <<<< Position: 862, 752 Cursor ID: 0 Color: 0x0000FF >>>> StatusBar <<<< >>>> Visible Text <<<< Start 3:36 PM Notification Area Running Applications Running Applications >>>> Hidden Text <<<< Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted October 12, 2009 Moderators Share Posted October 12, 2009 ArgoBJ, First, welcome to the AutoIt forums. I am afraid that is as far as the good news goes. I know of no way of clicking on a systray icon without the systray being visible - and all my research has turned up no way of getting the systray visible if it is hidden. All I know is in this topic - but perhaps someone else can offer more wisdom (not uncommon! ). My apologies if this is a less-than-satisfactory beginning. Please do stick around and discover more about AutoIt. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area 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