Bert Posted February 8, 2008 Share Posted February 8, 2008 Ive done some searching through the Forum and I can't find what I need. When running slproto.exe, you get a icon in the system tray. I understand there is a hidden window for the app. What I'm trying to do is figure out a way to see if SecureLogon is active while it is running. WHen active, the icon in the system tray is a blue square with a hand in it. When not active, it is a blue square with a "X" in it. I really do not wish to do the pixel route to figure this one out. Things I've tried to see if I could get a hook:registrylook in the gui and see if ther is a control to change the setting. Apparantly the only way to switch it is to right click on the system tray icon and click on "active" in the context menu.ini file in the program's foldergoogle for information on SecureLoginIs it possible to check the icon to see if the "active" menu item is checked? The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Zedna Posted February 8, 2008 Share Posted February 8, 2008 Look here and read whole topic. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Bert Posted February 8, 2008 Author Share Posted February 8, 2008 It is not quite telling me what I need. It tells me how to click on a menu, but not how to read the menu. Also the example script it talks about is no longer available. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Zedna Posted February 8, 2008 Share Posted February 8, 2008 It is not quite telling me what I need. It tells me how to click on a menu, but not how to read the menu. Also the example script it talks about is no longer available. TaskTray.au3: expandcollapse popup#include <A3LToolbar.au3> Opt("MustDeclareVars" , 1) Opt("WinTitleMatchMode", 4) ; =============================================================================================================================== ; Description ...: Shows how to work with the Taskbar ; Author ........: Paul Campbell (PaulIA) ; Notes .........: This script MUST be run in SciTE in order to see the results ; =============================================================================================================================== ; =============================================================================================================================== ; Global variables ; =============================================================================================================================== Global $hWnd, $iCount, $iI, $iCount, $iCommand, $sText ; =============================================================================================================================== ; Main ; =============================================================================================================================== $hWnd = ControlGetHandle("[CLASS:Shell_TrayWnd]", "", "Notification Area") $iCount = _Toolbar_ButtonCount($hWnd) for $iI = 0 to $iCount - 1 $iCommand = _Toolbar_IndexToCommand($hWnd, $iI) $sText = _Toolbar_GetButtonText ($hWnd, $iCommand) if $sText <> "" then _Lib_ConsoleWrite($sText) next _Lib_ConsoleWrite() $hWnd = ControlGetHandle("[CLASS:Shell_TrayWnd]", "", "Quick Launch") $iCount = _Toolbar_ButtonCount($hWnd) for $iI = 0 to $iCount - 1 $iCommand = _Toolbar_IndexToCommand($hWnd, $iI) $sText = _Toolbar_GetButtonText ($hWnd, $iCommand) if $sText <> "" then _Lib_ConsoleWrite($sText) next _Lib_ConsoleWrite() $hWnd = ControlGetHandle("[CLASS:Shell_TrayWnd]", "", "ToolbarWindow322") $iCount = _Toolbar_ButtonCount($hWnd) for $iI = 0 to $iCount - 1 $iCommand = _Toolbar_IndexToCommand($hWnd, $iI) $sText = _Toolbar_GetButtonText ($hWnd, $iCommand) if $sText <> "" then _Lib_ConsoleWrite($sText) next Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Bert Posted February 9, 2008 Author Share Posted February 9, 2008 where do I get A3LToolbar.au3? Gary seems to have removed it. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Zedna Posted February 9, 2008 Share Posted February 9, 2008 (edited) where do I get A3LToolbar.au3? Gary seems to have removed it.You can use new standard UDF in which is ported all Auto3Library.In this case: C:\Program Files\AutoIt3\Include\guitoolbar.au3and rename functions accordingly: Toolbar_GetButtonText() --> _GUICtrlToolbar_GetButtonText()EDIT: If you want I can send you latest Auto3Library by PM Edited February 9, 2008 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Bert Posted February 10, 2008 Author Share Posted February 10, 2008 can you send me the latest library? The Vollatran project My blog: http://www.vollysinterestingshit.com/ 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