User Defined Functions

From AutoIt Wiki
Revision as of 07:17, 20 June 2014 by Mlipok (talk | contribs) (→‎Encryption and hash: added TrueCrypt)
Jump to navigation Jump to search

This page is a listing of libraries of user defined functions (UDF). These libraries have been written to allow easy integration into your own scripts and are a very valuable resource for any programmer.

Automation

  • Java UDF - Creates an access bridge between your application and a Java application. Allowing you to automate some Java applications.
  • SAP - SAP business management automation.
  • WiFi - Low level control over your wireless LAN
  • Active Directory - Extensive library to control and manipulate the Windows active directory. Link to the documentation pages.
  • Windows Events - Create your own Windows events.
  • Service - Build your own service with AutoIt code.

Browsers

  • Internet Explorer - Everything about Internet explorer can be automated with the IE library supplied with a standard AutoIt install.
  • FireFox - A little less support for automation than IE, but still very good.
  • Opera - The same as above for Opera. Automate the most common tasks in Opera with the Opera UDF.
  • Chrome - The same as above for Google Chrome. Automate the most common tasks in Chrome with the Chrome UDF.

Microsoft Office Automation

Hardware

  • CommAPI - Serial and parallel communication (COM port, RS-232, LPT port) - without installing DLL's (using Windows API calls)
  • Serial Port/COM - Serial Port /COM Port UDF.

Information gathering

Databases and web connections

  • SQLite - "SQLite is a library that implements a self-contained, embeddable, zero-configuration SQL database engine"
  • XML DOM Wrapper - Supports CRUD operations on XML. Including XSL and XPath.
  • MySQL - MySQL relational database management system UDF.
  • DBF - dBase database read and write with DLL.

Internet protocol suite

  • WinHTTP - Enables scripts to access the HTTP protocol for creating GET and POST requests and submitting them with conforming standards, cookies not supported.
  • WinInet - Enables scripts to access standard Internet protocols, such as FTP, Gopher and HTTP. Also supports creating GET and POST requests and submitting them with conforming standards, cookies supported.
  • POP3 - POP3 library for retrieving email messages. Not compatible with Gmail because it uses SSL.
  • POP3 SSL - A POP3 library that's compatible with Gmail. It uses an external executable that must be supplied with your script.
  • IRC - A lightweight library for communicating with IRC servers.
  • SFTP - UDF to support SFTP protocol using PSFTP.
  • JSON - RFC4627 compliant JSON encode/decode

Data compression

  • zip - Create ZIP files and unpack ZIP files.
  • 7z, zip, gzip, bzip2, tar - More extensive library than the one above. Uses a external DLL that must be provided with the script.
  • XZip - UDF for "XStandard XZIP Component".
  • ZIP - ZIP.au3 UDF in pure AutoIt.
  • UnRAR - UnRAR.au3.

Encryption and hash

Media

  • Simple DirectMedia Layer UDF - Adds support for joysticks, CDs, 2D graphics, timers. See SDL website for more information.
  • FreeImage library - Various operations on images, such as rotate, resize, flip.
  • Printer controller - Print text in any font, size and colour at any position on the page, draw lines, curves, elipses, pies in any colour, and print images.
  • RTF_Printer - RTF_Printer.au3 - Printing RichEdit in the background.

Sound

  • BASS Function Library - Sound and Music via wrappers for Bass, BassEnc, Bass FX, BassSFX, BassAsio and BassCd DLLs

3D graphics

  • IrrLicht - A 3D graphics engine suitable for creating games.
  • au3Irrlicht2 - Another UDF bringing Irrlicht and au3 together. Historically some kind of a follower of the UDF above, technically with a complete different approach.

GUI Additions

  • XSkin - A large library that allows skinning of your GUI and to apply custom skins.
  • Uskin - A library that allows a user to skin their application GUI using the Windows .MSstyles files.
  • Modern tray menu - Allows the creation of modern, fancy GUI and tray menus with icons.
  • SetOnEvent - Provides an easy way for an event to call functions with parameters.
  • GUIFrame - Divide a GUI into adjustable frames.
  • Easy Scrollbars - Easily create scrollable sections in your GUI
  • GUICtrlOnChangeRegister - Call a function when an edits content is changed.
  • ContextHelp.au3 - Management of context help (original)
  • GUIExtender - Expand and contract sections of your GUI. (original)
  • ExtMsgBox - A very customisable replacement for MsgBox
  • Toast - Small message GUIs which pop out of the Systray

Controls

Maths

  • Primes UDF - Many functions dealing with prime number generation and calculations.
  • Big number UDF - Make calculations with extremely large numbers that AutoIt normally is not able to support.
  • Number base conversion - From, to and between positive bases less than 63 (decimals supported)
  • Decimal To fraction - Converts any decimal number to a fraction. Example: 1.2 to 6/5
  • Trigonometry math functions - _ATan2(), _Cosh(), _Frexp(), _Hypot(), _Ldexp(), _Logb(), _Sinh(), _Tanh()
  • Polynomials - Functions for using polynomials.
  • NumToWord - Convert numerals to a human readable string.
  • Root function - Working out real roots of numbers.
  • Advanced rounding - Support for different measures of accuracy and 8 ways to resolve tie breaks.

Misc

  • Hotkey.au3 - Management of Hotkeys UDF, with several advantages over HotkeySet().
  • Animated tray icons - Make animated tray icons easily.
  • NoFocusLines - Remove the dotted focus lines from buttons, sliders, radios and checkboxes which spoil the look of your GUI
  • StringSize - Automatically size controls to fit the text you want to put in them

PDF

  • PDFCreator - Automation of PDFCreator allows you to create and manipulate PDF files.
  • Debenu Quick PDF Library - A collection of functions for Debenu Quick PDF Library.
  • MPDF - Create PDF from your application.

Windows

  • Firewall - Windows Firewall UDF.
  • UAC - User Account Control (UAC) UDF.