Jump to content

Automation

62 files

  1. ImageSearchUDF

    High-Performance ImageSearch UDF & DLL for AutoIt
    This project provides a highly optimized UDF (User Defined Function) and two versions of a DLL (Dynamic-Link Library) for fast and flexible image searching on the screen using AutoIt.
    It serves as a powerful replacement for standard image search functions, delivering superior speed, especially on modern CPUs, by leveraging advanced SIMD instructions.
    ✨ Key Features
    Superior Speed: The modern version utilizes the AVX2 instruction set to accelerate the search speed by several factors compared to traditional methods. Two DLL Versions: Provides both a modern version (optimized for speed) and a legacy version (for Windows XP support). Multi-Image Search: Search for multiple image files in a single function call by separating paths with a pipe (|). Multi-Scale Searching: Automatically search for an image across a range of sizes (e.g., from 80% to 120% of its original size). Color Tolerance: Find images even with slight color variations by setting a tolerance value (0-255). Transparent Color Support: Specify a color in the source image to be ignored during the search. Flexible Result Handling: Find and return the first match. Find and return all matches on the screen. Limit the maximum number of results. Smart (Hybrid) DLL Loading: The UDF prioritizes an external DLL for maximum performance and automatically falls back to an embedded DLL to ensure the script always runs. Unicode Support: Works flawlessly with file paths containing Unicode characters. Thread-Safe: The DLL is designed to operate stably in multi-threaded scenarios. Debug Information: Provides an option to return a detailed debug string for easy troubleshooting. 🚀 The Two DLL Versions
    The project offers two DLL versions to meet different needs:
    1. ImageSearch_x86.dll ImageSearch_x64.dll (Modern Version)
    (Attached in the same UDF folder - Because the DLL file with AVX2 support is large in size) This is the recommended version for most users.
    Strengths: AVX2 Support: Leverages Advanced Vector Extensions 2 on modern CPUs to process multiple pixels in parallel, resulting in extremely fast search speeds. Built with modern C++, ensuring stability and efficiency. Limitations: Not compatible with Windows XP. When to use: When you need maximum performance on Windows 7, 8, 10, 11, and newer. 2. ImageSearch_XP.dll (Legacy Version)
    (Embedded in UDF code) This version is created for backward compatibility.
    Strengths: Windows XP Compatibility: Works well on the Windows XP (SP3) operating system. Limitations: No AVX2 Support: Search speed will be significantly slower than the modern version on AVX2-supported CPUs. When to use: When your script must run in a Windows XP environment. ⚙️ How the UDF Works
    The ImageSearch_UDF.au3 file uses a very smart "hybrid" DLL loading mechanism:
    Prioritize External DLL: When the _ImageSearch function is called, the UDF first looks for ImageSearch_x86.dll and ImageSearch_x64.dll in the same directory as the script (@ScriptDir). If found, it uses this file to achieve the best performance (with AVX2 if available). Fallback to Embedded DLL: If the external DLL is not found, the UDF will automatically extract and use a legacy (non-AVX2) compatible DLL version that is embedded within it as a hex string. ➡️ This ensures that your script can always run, even if you forget to copy the DLL file. However, for the highest speed, always place the modern ImageSearch_x86.dll and ImageSearch_x64.dll next to your script.
    📦 Setup
    Place the DLL file: Copy ImageSearch_x86.dll and ImageSearch_x64.dll (the modern version) into the same directory as your AutoIt script file. Include the UDF in your script: Use the line #include <ImageSearch_UDF.au3> in your script. 📖 API Reference
    The main function for performing an image search.
    _ImageSearch($sImageFile, [$iLeft = 0], [$iTop = 0], [$iRight = 0], [$iBottom = 0], [$iTolerance = 10], [$iTransparent = 0xFFFFFFFF], [$iMultiResults = 0], [$iCenterPOS = 1], [$iReturnDebug = 0], [$fMinScale = 1.0], [$fMaxScale = 1.0], [$fScaleStep = 0.1], [$iFindAllOccurrences = 0])  
    Parameters
    Parameter Type Default Description $sImageFile String - Path to the image file. To search for multiple images, separate paths with a pipe (` $iLeft Int 0 The left coordinate of the search area. 0 defaults to the entire screen. $iTop Int 0 The top coordinate of the search area. 0 defaults to the entire screen. $iRight Int 0 The right coordinate of the search area. 0 defaults to the entire screen. $iBottom Int 0 The bottom coordinate of the search area. 0 defaults to the entire screen. $iTolerance Int 10 Color tolerance (0-255). A higher value allows for greater color variation. $iTransparent Int 0xFFFFFFFF The color (in 0xRRGGBB format) to be ignored in the source image. 0xFFFFFFFF means no transparency. $iMultiResults Int 0 The maximum number of results to return. 0 means no limit. $iCenterPOS Bool 1 (True) If True, the returned X/Y coordinates will be the center of the found image. If False, they will be the top-left corner. $iReturnDebug Bool 0 (False) If True, the function returns a debug string instead of the results array. $fMinScale Float 1.0 The minimum scaling factor for the search (e.g., 0.8 for 80%). Must be >= 0.1. $fMaxScale Float 1.0 The maximum scaling factor for the search (e.g., 1.2 for 120%). $fScaleStep Float 0.1 The increment to use when searching between min and max scales. Must be >= 0.01. $iFindAllOccurrences Bool 0 (False) If False, the search stops after the first match. If True, it finds all possible matches. Return Value
    On Success: Returns a 2D array containing the coordinates of the found images. $aResult[0][0] = The number of matches found. $aResult[1] to $aResult[$aResult[0][0]] = An array for each match. $aResult[$i][0] = X coordinate $aResult[$i][1] = Y coordinate $aResult[$i][2] = Width of the found image $aResult[$i][3] = Height of the found image On Failure / No Match: Sets @error to 1 and returns 0. In Debug Mode: If $iReturnDebug is True, returns a string containing detailed information about the last search operation. 💻 Examples
    Example 1: Basic Search
    Find the first occurrence of button.png on the screen.
    #include <ImageSearch_UDF.au3> Local $aResult = _ImageSearch("C:\images\button.png") If @error Then MsgBox(48, "Error", "Image not found on screen.") Else Local $iCount = $aResult[0][0] Local $iX = $aResult[1][0] Local $iY = $aResult[1][1] MsgBox(64, "Success", "Found " & $iCount & " image(s). First match is at: " & $iX & ", " & $iY) MouseMove($iX, $iY, 20) ; Move mouse to the center of the found image EndIf Example 2: Advanced Search (Multiple Images, Tolerance, Scaling)
    Search for icon1.png or icon2.png within a specific region, with a tolerance of 20 and scaling from 90% to 110%. Find all occurrences.
    #include <ImageSearch_UDF.au3> Local $sImages = "icon1.png|icon2.png" Local $iTolerance = 20 Local $fMinScale = 0.9 Local $fMaxScale = 1.1 Local $fStep = 0.05 Local $aResult = _ImageSearch($sImages, 500, 300, 1200, 800, $iTolerance, 0xFFFFFFFF, 0, True, False, $fMinScale, $fMaxScale, $fStep, True) If @error Then MsgBox(48, "Error", "No matching images found in the specified region.") Else Local $iCount = $aResult[0][0] ConsoleWrite("Found " & $iCount & " total matches." & @CRLF) For $i = 1 To $iCount ConsoleWrite("Match #" & $i & ": X=" & $aResult[$i][0] & ", Y=" & $aResult[$i][1] & ", W=" & $aResult[$i][2] & ", H=" & $aResult[$i][3] & @CRLF) Next EndIf Example 3: Using Debug Mode
    To diagnose issues, use the $iReturnDebug parameter.
    #include <ImageSearch_UDF.au3> Local $2dDLLResult = _ImageSearch("image_not_exist.png", 0, 0, 0, 0, 10, 0xFFFFFFFF, 0, True, True) ConsoleWrite(">> DLL Return: " & $g_sLastDllReturn & @CRLF) ; Example output: {0}[No Match Found] | DEBUG: File=image_not_exist.png, Rect=(0,0,1920,1080), Tol=10, Trans=0xffffffff, Multi=0, Center=1, FindAll=0, AVX2=true, Scale=(1.00,1.00,0.10) SPECIAL NOTE: The function always returns a 2D array for both results and errors.
    Credits
    Author: Dao Van Trong - TRONG.PRO Source Dll on GitHub: daovantrong/ImageSearchDLL: A DLL for finding an image on the screen

    11,180 downloads

       (1 review)

    12 comments

    Updated

  2. ImageSearch Automation Suite

    An ultimate, professional GUI tool for complex, configurable image search tasks, built upon the high-performance ImageSearch UDF.
    Include ImageSearch UDF Embedded dll
     

    65 downloads

       (0 reviews)

    0 comments

    Updated

  3. AutoIt Embedded File Generator

    A professional tool to convert binary files into self-contained AutoIt hex functions.
     Features architecture detection, GUI and CLI modes, and robust code generation.

    26 downloads

       (0 reviews)

    0 comments

    Updated

  4. syncthing --no-browser --no-console.exe

    Running "syncthing --no-browser --no-console" used to run syncthing with "no-console" but for some reason it doesn't in Win11.
    Therefore a hider is needed and after trying the solutions I found online and failing me, I coded one given that is very simple to do in AutoIt.
    The file password is 123
    Read more about it at 
     
     

    14 downloads

       (0 reviews)

    0 comments

    Updated

  5. open-webui-ToTray

    open-webui is a nice toy but leaves the command prompt where it runs visible and I wanted to hide it, or move it to the tray. Solution ?, code it.
    So here is the open-webui-ToTray I wanted.
    Tested just on my PC with Win11. If you need something fixed, go to the help area and we'll chat.

    76 downloads

       (0 reviews)

    0 comments

    Updated

  6. ADAudit - Active Directory Report

    On one/multiple big sheet(s) you get users (columns) and groups (rows). The list is sorted descending by number of members so you get the users with most groups and the groups with most members on top of the page. You can filter by (multiple) samaccountname(s), department or you can create your own LDAP query filter. You can filter the resulting list of groups using a Regular Expression.
    Version 2.0 uses maps so at the moment it requires the latest beta version of AutoIt!
    BTW: If you like this tool please click the "I like this" button. This tells me where to next put my development effort

    1,204 downloads

       (0 reviews)

    0 comments

    Updated

  7. OutlookEX

    Extensive library to control and manipulate Microsoft Outlook. This UDF holds the functions to automate items (folders, mails, contacts ...) in the background. Can be seen like an API.
    There are other UDFs available to automate Outlook:
    OutlookEX_GUI: This UDF holds the functions to automate the Outlook GUI. OutlookTools: Allows to import/export contacts and events to VCF/ICS files and much more.  Threads: Development - General Help & Support - Example Scripts - Wiki
    BTW: If you like this UDF please click the "I like this" button. This tells me where to next put my development effort

    KNOWN BUGS (last changed: 2020-02-09)
    None

    10,902 downloads

       (2 reviews)

    5 comments

    Updated

  8. Task Scheduler

    Extensive library to control and manipulate Microsoft Task Scheduler Service.
    Please check this site for the implementation status! Please check the History.txt file in the archive for the changelog. Please check the WIKI for details about how to use the UDF.
    BTW: If you like this UDF please click the "I like this" button. This tells me where to next put my development effort
     
    KNOWN BUGS (last changed: 2021-02-03)
    None Things to come (last changed: 2021-02-03)
    None

    2,942 downloads

       (0 reviews)

    2 comments

    Updated

  9. AD - Active Directory UDF

    Extensive library to control and manipulate Microsoft Active Directory.

    Threads: Development - General Help & Support - Example Scripts - Wiki
    Previous downloads: 30467
     
    Known Bugs: (last changed: 2020-10-05)
    None Things to come: (last changed: 2020-07-21)
    None
    BTW: If you like this UDF please click the "I like this" button. This tells me where to next put my development effort

    18,524 downloads

       (3 reviews)

    6 comments

    Updated

  10. SetMicForPlayback

    The reason for this you can read at https://www.autoitscript.com/forum/topic/196727-set-microphone-for-playback-device/
    Runs on it's own without user interaction needed.
    When you "Select a playback device", it will select the 
     corresponding microphone, or leave it as is, if one is not matched.
    It was coded on my PC ( a Windows 10 ), I have no more PCs to test if
     it will work on other configurations but by right-click the tray icon,
     a context menu will give you the option to see the list array of
     devices found and that may serve to aid in case this program need
     to be tweaked to better fit other setups.
    It did not run on a VM of WinXP, so if your OS is old, it may very
     well not have support for the COM calls this program uses to operate.
    I should also advise to run and/or compile with v3.3.14.5. "OnEvent" is too slow in newer versions for this code.

    11,413 downloads

       (0 reviews)

    0 comments

    Updated

  11. String Trigger

    This is my take on string triggers, triggers on specific strings.
    Able to simple text pasting,
    opening links (as long as there's a www. http:\\ or https:\\ at the beggining)
    and is able to open applications, if there is a parameter in the parameter field, it uses it.
    Shows your lan, and gateway ip's, and opens them on a browser uppon click.
    Able to change system volume by a set percentage, reading from the inputbox the number the user sets, if 0 or empty uses system default.
    I made this because the existing string trigger applications didn't do it for me.

    1,153 downloads

       (0 reviews)

    8 comments

    Updated

  12. OutlookTools

    Built on top of the OutlookEX UDF it offers some often needed extended functionality (import/export ics/vcf/csv files etc.) (former name: iCal UDF).
    Note: This is a beta version - script breaking changes may occur at any time!
    Prerequisite: OutlookEX UDF.
    Details about all functions can be found in the Wiki.
    ICS (iCalendar) import - Import iCal events from an ICS file to an Outlook calendar
    VCF (vCard) import - Import vCard contacts to an Outlook contacts folder
    CSV import - Import data from a CSV file and create Outlook items in a specified folder
    Export - Export Outlook items (contacts, appointments) in VCF, ICS, CSV or Excel format
     
    Links:
    https://tools.ietf.org/html/rfc5545 (ICS - iCalendar)
    https://tools.ietf.org/html/rfc6350 (VCF - vCard)
    Threads:
    General Help & Support
     
    Known Bugs: (last changed: 2019-01-22)
    None
      Things to come: (last changed: 2022-01-25)
    Support for EML mails (email contents as plain text in MIME format) will be added
    BTW: If you like this UDF please click the "I like this" button. This tells me where to next put my development effort

    1,721 downloads

       (0 reviews)

    0 comments

    Updated

  13. Simple Library Docs Generator

    ATTENTION! THIS IS STILL WORK IN PROGRESS!
    This is the modified version of MrCreatoR's "Simple Library Docs Generator".
    It allows to create CHM help files that look like the AutoIt help file.
    In additon this CHM files can then be used with Advanced.Help.
    This a very early alpha version - so it is miles away from being perfect. It's just something for you to play with.
    The documentation is in the making and will be published as soon as possible.
     
    BTW: If you like this UDF please click the "I like this" button. This tells me where to next put my development effort

    1,048 downloads

       (0 reviews)

    0 comments

    Updated

  14. MirrorDir

    This is a folder backup tool, after i got tired of using tools made by others, that had either lack of functionality,
    or were overly complex, i decided to make my own, and this is it.
    MirrorDir mirrors dirs as the name says, simply select source and destination hit scan, review in the list if that's what you want it to do and press start copy.
    As this is a mirror sync tool, this means files that exist in destination but dont exist in source are marked for deletion.
    Other tools have other modes like the incrementing copy which does not delete anything, but i made this for me,
    only if there is a request i may think about adding features just for fun.
    Whats more? There's a save/load of profile and the profile is what contains the list of source and destination folders, these are kept in prefs.ini in folder MDir in local appdata.
    There are context menu's that allow for the removal of items from the profile list, either just for the list (in case you dont want to sync a specific folder, just this time)
    or delete from the list and the .ini .
    Best regards.
     
     

    1,071 downloads

       (0 reviews)

    0 comments

    Updated

  15. Regedit Control

    Hello, this is a tool made to be used with regedit, it starts regedit when run, then saves a list of the paths in registry the user browsed, on double click in the "history" list, it jumps to that key, it has 2 methods of jump, one is through favorites, the other through "lastkey".
    In certain cases you can use the context menu "follow" in keys like
    HKEY_CLASSES_ROOT\.abc
    to jump to
    HKEY_CLASSES_ROOT\abcfile
    As an example.
    The other context menu is "Clear", and its obvious it clears the listview.
    Best regards.

    676 downloads

       (1 review)

    0 comments

    Updated

  16. PowerPoint UDF

    Extensive library to control and manipulate Microsoft PowerPoint.
    Threads: Help & Support, Wiki
    BTW: If you like this UDF please click the "I like this" button. This tells me where to next put my development effort

    1,866 downloads

       (0 reviews)

    5 comments

    Updated

  17. OutlookEX_GUI

    Extensive library to control and manipulate Microsoft Outlook. This UDF holds the functions to automate the Outlook GUI.
    There are other UDFs available to automate Outlook:
    OutlookEX: Automates the processing of items (folders, mails, contacts ...) in the background. Can be seen like an API. OutlookTools: Allows to import/export contacts and events to VCF/ICS files.
    Theads: Development - General Help & Support - Example Scripts - Wiki

    Known Bugs: (last changed: 2020-03-27)
    None Things to come: (last changed: 2020-03-27)
    None
    BTW: If you like this UDF please click the "I like this" button. This tells me where to next put my development effort

    1,901 downloads

       (0 reviews)

    0 comments

    Updated

  18. Acro.au3

    A collection of functions for accessing and manipulating PDFs though Adobe Acrobat Pro

    503 downloads

       (0 reviews)

    0 comments

    Updated

  19. Renamer

    Hi, this is a tool to change folders or files names, very simple, drag or choose folder, write what you want the application to search for,
    write what you want it to be replaced with, select folders or files, case-sensitive or not, recursive or not and Go.
    Example: change all files that have 123 in their name to nothing (aka remove "123")
    so we write 123 in the "search", and leave the "replacement" field blank.
    file "123abc.exe" will become abc.exe
    file "456trt123.txt" Becomes "456trt.txt"
    As i said, simple.

    692 downloads

       (0 reviews)

    0 comments

    Updated

  20. Personal Function Documentation

    A SciTE integrate-able script for easily accessing UDF Headers in your personal scripts.

    380 downloads

       (0 reviews)

    0 comments

    Updated

  21. GUICtrlTuner_Limitless.au3

    Macro Usage :
     2 ways for selecting more than one control
     Holding the X while selecting or drawing a temp rectangle over desired controls
     Mouse wheel to cycle through previous selections of checks
     Mouse wheel+ CTRL = As an alternative to using Undo\Redo (buttons)
     
    key combo's :
      + SHIFT           When needing to Perform actions while keeping the checked controls in check, for instance, when dragging a group of checked controls @ keeping them checked (See Aligning options for the other use)
        + Space-Bar     For applying actions to all controls Specified in a preset where only one of the controls belonging to the same preset is actually checked
        + CTRL             Makes an action continues
        + ALT                Resize actions
      + CTRL Click  a control that belongs to a configured preset, makes all the other controls in that preset to get Checked (or Unchecked - with another CTRL + click)
      
     Tabs :
    In order to move controls into tabs you will need to drag the control\s on to a tab label other then the one selected
      so if you want a control\s to go into a tab labeled :"one" first select some other tab then you can drag drop the control\s on to the tab labeled "one"
     
    Aligning options:
    Checked items are parameterized by right clicking any odd control which is checked or unchecked (in the group or out of the group \ anywhere), using its size or position as a parameter for the chosen sizing action on whatever controls that are shown as checked in the control pannel Gui
    In cases where more than one control are checked. The aligning will aim to size the group of controls relatively to each other,  if you will need  the sizing to be absolute when using the "equal in" :"Top", "Bottom", "Left", "Right" "Size", Width", "Height" than hold down  the SHIFT key while clicking or choosing an action
     
    How to have Equal spacing between groups (Shift+SpaceBar_Combo_Demo.flv).7z

    541 downloads

       (0 reviews)

    2 comments

    Updated

  22. _ClipFileToVar

    This is for reading a file and converting it to a paste-able $Var
    Double clicking the executable sends a copy of the executable to the windows explorer SendTo directory
    Usage:  right click any text file (needed for your script)   bringing explorer's context menu and and selecting ( Send To > _ClipFileToVar. Exe ) 
    Whatever option you get selected from the GUI's options will fill the output to the clipboard where you then can paste the result straight into your main script
    the options are 
    converting text files:
    considering line breaks and shortening empty lines + breaking  lines that exceed 100 notes
    all so that the output remains readable as with plain reading the file
    The other option is for converting the file's read data to  _Base64Encoded  data
    the last option fills the clipboard with the functions and an example that shows how to convert the _Base64encoded $Var back to a readable form that your script can then use
    So far with what I put here, plus the example is for working with text files only
    Deye

    344 downloads

       (0 reviews)

    2 comments

    Updated

  23. au3 (X) shell extension

    Manage UDF's and file includes as backup\restore or import\export method  To register the extension: Double click the executable from inside any folder of your choosing, For instance "My Documents\UDF-Store\au3_X.exe"
    To change the location of what is to be the "UDF-Store", move au3_X.exe to the new path and just repeat the above.
    Starting it up :
    Right click any *.au3, In the explorer context menu showing up choose the option "au3 (X)", The GUI will show up with an overview of all the action buttons + available options
     

     

    444 downloads

       (0 reviews)

    0 comments

    Updated

  24. RdpRunner

    I use RDP a lot, and is not uncommon to run another session again, closing the prior connection, when minimized.
    The solution?, see if the window exists. If it does, restore it, else, run it.

    887 downloads

       (0 reviews)

    2 comments

    Updated

  25. AutoTimeSync

    AutoTimeSync 2.2 - Automatically update time for computers!
    _________________________________________________
    AutoTimeSync.exe
    CRC32: 8D2169F6
    MD5: 8B0346B4D84A0A0434F048AC564D4199
    SHA-1: FB02C3D93DD828B5305B3D373094F0229DCB8F55
    SHA-256: EB57E99520C003E582D1DD37E39B26942C014597FDF8DF5FDB00AE32B0803906

    AutoTimeSync_Debug.exe - Version Show Debug infomation
    CRC32: 9CC5E35E
    MD5: 090BDAD428BF3F5DDBF3978FEB23DC7D
    SHA-1: 5572360A0D181CFB2C147CF325AE87747F7BA007
    SHA-256: 5537DA23E60B5FB5A52C1BAF98745DEC3F9C7309398F7B18C56B3DD124B44003
     

    868 downloads

       (0 reviews)

    0 comments

    Updated


×
×
  • Create New...