Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/20/2015 in all areas

  1. LAST VERSION - 1.1 18-May-12 Control Viewer (CV) is a replacement of AutoIt Window Info with a number of advantages. I tried to stick to the interface of the last, so you almost do not have to be retrained. During testing, I never managed to find any controls that could not be identified by CV (on the contrary, shows a lot of hidden controls, especially for the system windows). The all program settings are stored in the following registry key: HKEY_CURRENT_USERSoftwareY'sControl Viewer The main differences CV from AWI Shows the complete list of all existing controls for the window that are interested (visible, hidden and deleted controls are displayed with different colors that can be changed to any other).Dynamically changing information during search for the windows and their controls.Ability to quickly switch between controls in the list.Ability to show/hide any controls from the list (useful for the overlaping controls).Information for the Style and ExStyle parameters shown in the form of hexadecimal values​​, and as its flags.Added the PID and Path parameters in the Window tab and ability to quickly open a folder that containing the process file.Added the coordinate system relative to the selected control.Shows a color of the selected pixel in RGB and BGR formats.Shows an example fill of the selected color.Ability to select the text encoding (affects the Text parameter in the Control tab).The complete change the appearance of pop-up frame for the selected controls.Simple and convenient tool to get a screenshot of the part screen of interest for publication on the forum (Capture tab).Create a report in the clipboard or a text file for subsequent publication on the forum.Search all running AutoIt scripts and their windows in the system (AutoIt tab).User-friendly interface. Used shortcuts Ctrl+Alt+T - Enable/Disable "Always On Top" mode (also available from the menu). Ctrl+Alt+H - Enable/Disable highlight selected controls (also available from the menu). Ctrl+A - Select all text (works in any input field). Ctrl - Hold down when moving the mouse to scroll the screenshot (Capture tab). Shift - Hold down when stretching/compression of the contour frame for an equilateral resizing screenshots (Capture tab). DoubleClick (on the screenshot) - Save the image to a file (Capture tab). DoubleClick (on any list item) - Open a folder with the file of the process or AutoIt script (AutoIt tab). Del (on any list item) - Close process (AutoIt tab). F5 - Updating the list (AutoIt tab). If anyone have any questions or comments about CV, please post it in this thread. I will be glad to any feedback and suggestions. Files to download Binary (x86 and x64) Redirection to CV_bin.zip, 1.14 MB CV_bin.html Source Redirection to CV_source.zip, 691 KB CV_source.html
    1 point
  2. I have tried _GUIToolTip_AddTool() & GUICtrlSetTip() & TrayItemGetHandle() but have had no luck...is there a way that I have missed, or is it not possible to create a ToolTip for an individual item in the Tray?
    1 point
  3. Well I'm an idiot. I just realized the machine I was testing this on did not fit the @ComputerName criteria specified in this script. D'oh! Changed one of the lines, testing now successful. Will work on the production script and test that. Thanks for the help guys!
    1 point
  4. Have you tried disabling / uninstalling Comodo yet? Try it and see if the green boxes / errors goes away.
    1 point
  5. which almost certainly is being executed at startup, hence AutoRuns. The message seems to be saying that it is trying to start a script that was once there but no longer...
    1 point
  6. A way to do it is to use a WH_MSGFILTER hook procedure to catch the messages from the tray menu: #NoTrayIcon #include <MsgBoxConstants.au3> #include <WindowsConstants.au3> #include <WinAPI.au3> Opt("TrayMenuMode", 3) ; The default tray menu items will not be shown and items are not checked when selected. These are options 1 and 2 for TrayMenuMode. Global Const $tagMSG = "hwnd hwnd;uint message;wparam wParam;lparam lParam;dword time;int X;int Y" Global $iDisplay, $iPrinter, $iAbout, $iExit Example() Func Example() Local $iSettings = TrayCreateMenu("Settings") ; Create a tray menu sub menu with two sub items. $iDisplay = TrayCreateItem("Display", $iSettings) $iPrinter = TrayCreateItem("Printer", $iSettings) TrayCreateItem("") ; Create a separator line. $iAbout = TrayCreateItem("About") TrayCreateItem("") ; Create a separator line. $iExit = TrayCreateItem("Exit") Local $hMessageHandler = DllCallbackRegister( "MessageHandler", "long", "int;wparam;lparam" ) Local $hMessageHook = _WinAPI_SetWindowsHookEx( $WH_MSGFILTER, DllCallbackGetPtr( $hMessageHandler ), 0, _WinAPI_GetCurrentThreadId() ) TraySetState(1) ; Show the tray menu. While 1 Switch TrayGetMsg() Case $iAbout ; Display a message box about the AutoIt version and installation path of the AutoIt executable. MsgBox($MB_SYSTEMMODAL, "", "AutoIt tray menu example." & @CRLF & @CRLF & _ "Version: " & @AutoItVersion & @CRLF & _ "Install Path: " & StringLeft(@AutoItExe, StringInStr(@AutoItExe, "\", 0, -1) - 1)) ; Find the folder of a full path. Case $iDisplay, $iPrinter MsgBox($MB_SYSTEMMODAL, "", "A sub menu item was selected from the tray menu.") Case $iExit ; Exit the loop. ExitLoop EndSwitch WEnd DllCallbackFree( $hMessageHandler ) _WinAPI_UnhookWindowsHookEx( $hMessageHook ) EndFunc ;==>Example Func MessageHandler( $nCode, $wParam, $lParam ) Local $tMSG = DllStructCreate( $tagMSG, $lParam ) Local $iMsg = DllStructGetData( $tMSG, "message" ) If $iMsg = $WM_MENUSELECT Then Local $iwParam = DllStructGetData( $tMSG, "wParam" ) Local $idMenu = BitAND( $iwParam, 0xFFFF ) Switch $idMenu Case $iDisplay ToolTip( "Tooltip for Display menu" ) Case $iPrinter ToolTip( "Tooltip for Printer menu" ) Case $iAbout ToolTip( "Tooltip for About menu" ) Case $iExit ToolTip( "Tooltip for Exit menu" ) Case Else ToolTip( "" ) EndSwitch EndIf EndFunc
    1 point
  7. JLogan3o13

    ResHacker project

    @Osys2010, what @TheDcoder was trying to point out (very vaguely, to someone who is new) is that typically we ask that you not resurrect threads that have not been active in a long time. AutoIt is a constantly evolving language; what may have worked a year ago, or two or six, may not work today. And as Trancexx has not responded since 2013, she may well be focusing her talents on other projects. That said, Trancexx is usually pretty good about responding, even if it is to tell you she's no longer supporting this project. I would suggest just giving it a bit to see if she wanders by.
    1 point
  8. Melba23

    return variable index

    autohit, _ArraySearch searches in the array you use to populate the combo and returns the index of the string found - that index is then used to populate the inputs from their arrays because you have the indexes linked. M23
    1 point
  9. LarsJ

    Random Variable from array

    It's not that difficult: #include <Array.au3> Global $aArray[35], $aIndex[35] For $i = 0 To 34 $aArray[$i] = "ex" & $i + 1 $aIndex[$i] = $i Next For $i = 34 To 0 Step -1 $j = $aIndex[Random( 0, $i, 1 )] ConsoleWrite( $aArray[$j] & @CRLF ) _ArrayDelete( $aIndex, _ArraySearch( $aIndex, $j ) ) Next
    1 point
  10. Melba23

    Custom ToolTip

    Timppa, Use default values for the function parameters like this: $bDebug = False ToolTipCustom("Will not show") $bDebug = True ToolTipCustom("Under the mouse") ToolTipCustom("At 100, 100", 100, 100) ToolTipCustom("Under the mouse for 5 secs", Default, Default, 5000) Func ToolTipCustom($sToolTipText, $iToolX = Default, $iToolY = Default, $iToolTipSleep = 1000) If $bDebug = True Then ToolTip($sToolTipText, $iToolX, $iToolY) Sleep($iToolTipSleep) EndIf EndFunc ;==>ToolTipCustomM23
    1 point
×
×
  • Create New...