User Defined Functions: Difference between revisions

From AutoIt Wiki
Jump to navigation Jump to search
m (FTP UDF removed. Only UDFs that are not part of AutoIt are listed here)
(Added the Service UDF)
Line 8: Line 8:
* [http://www.autoitscript.com/forum/index.php?showtopic=106163 Active Directory] - Extensive library to control and manipulate the Windows active directory. Link to the [[Active_Directory_UDF_-_General|documentation]] pages.  
* [http://www.autoitscript.com/forum/index.php?showtopic=106163 Active Directory] - Extensive library to control and manipulate the Windows active directory. Link to the [[Active_Directory_UDF_-_General|documentation]] pages.  
* [http://www.autoitscript.com/forum/index.php?showtopic=28436 Windows Events] - Create your own Windows events.
* [http://www.autoitscript.com/forum/index.php?showtopic=28436 Windows Events] - Create your own Windows events.
* [http://www.autoitscript.com/forum/topic/80201-service-udf-v4-build-your-own-service-with-autoit-code Service] - Build your own service with AutoIt code.


===Browsers===
===Browsers===

Revision as of 12:07, 5 November 2013

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.
  • PDFCreator - Automation of PDFCreator allows you to create and manipulate PDF files.
  • 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.

Microsoft Office Automation

Hardware

  • Serial port (COM port) - Requires my comMG.dll (included)
  • CommAPI - Serial and parallel communication (COM port, RS-232, LPT port) - without installing DLL's (using Windows API calls)

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.

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.

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.

Encryption and hash

Media

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
  • JSON - RFC4627 compliant JSON encode/decode