User Defined Functions: Difference between revisions

From AutoIt Wiki
Jump to navigation Jump to search
(Added the Service UDF)
m (normalized links (title part irrelevant, only adds to maintenance))
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.
* [http://www.autoitscript.com/forum/index.php?showtopic=80201 Service] - Build your own service with AutoIt code.


===Browsers===
===Browsers===
Line 18: Line 18:
* [http://www.autoitscript.com/forum/index.php?showtopic=32144 Microsoft Office Access] - Automation of Access.
* [http://www.autoitscript.com/forum/index.php?showtopic=32144 Microsoft Office Access] - Automation of Access.
* [http://www.autoitscript.com/forum/index.php?showtopic=34302 Microsoft Office Excel] - Large automation library for Excel.
* [http://www.autoitscript.com/forum/index.php?showtopic=34302 Microsoft Office Excel] - Large automation library for Excel.
* [http://www.autoitscript.com/forum/topic/135312-excelchart-udf Microsoft Office Excel Charts] - Creating charts using Excel.
* [http://www.autoitscript.com/forum/index.php?showtopic=135312 Microsoft Office Excel Charts] - Creating charts using Excel.
* [http://www.autoitscript.com/forum/topic/126305-outlookex-udf/ Microsoft Office Outlook] - Extended Outlook UDF. Link to the [[OutlookEX_UDF_-_General|documentation]] pages.
* [http://www.autoitscript.com/forum/index.php?showtopic=126305 Microsoft Office Outlook] - Extended Outlook UDF. Link to the [[OutlookEX_UDF_-_General|documentation]] pages.
* Microsoft Office Word UDF - A way to automate Office Word is included with AutoIt.
* Microsoft Office Word UDF - A way to automate Office Word is included with AutoIt.


Line 35: Line 35:


== Internet protocol suite ==
== Internet protocol suite ==
* [http://www.autoitscript.com/forum/topic/84133-winhttp-functions/ WinHTTP] - Enables scripts to access the HTTP protocol for creating GET and POST requests and submitting them with conforming standards, cookies not supported.
* [http://www.autoitscript.com/forum/index.php?showtopic=84133 WinHTTP] - Enables scripts to access the HTTP protocol for creating GET and POST requests and submitting them with conforming standards, cookies not supported.
* [http://www.autoitscript.com/forum/topic/77503-wininetau3-ftphttphttpsgopher/ 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.
* [http://www.autoitscript.com/forum/index.php?showtopic=77503 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.
* [http://www.autoitscript.com/forum/index.php?showtopic=22838 POP3] - POP3 library for retrieving email messages. Not compatible with Gmail because it uses SSL.
* [http://www.autoitscript.com/forum/index.php?showtopic=22838 POP3] - POP3 library for retrieving email messages. Not compatible with Gmail because it uses SSL.
* [http://www.autoitscript.com/forum/index.php?showtopic=64051 POP3 SSL] - A POP3 library that's compatible with Gmail. It uses an external executable that must be supplied with your script.
* [http://www.autoitscript.com/forum/index.php?showtopic=64051 POP3 SSL] - A POP3 library that's compatible with Gmail. It uses an external executable that must be supplied with your script.
Line 63: Line 63:
== GUI Additions ==
== GUI Additions ==
* [http://www.autoitscript.com/forum/index.php?showtopic=32494 XSkin] - A large library that allows skinning of your GUI and to apply custom skins.
* [http://www.autoitscript.com/forum/index.php?showtopic=32494 XSkin] - A large library that allows skinning of your GUI and to apply custom skins.
* [http://www.autoitscript.com/forum/topic/132864-uskinlibraryau3-udf-skin-with-dll-free-no-ads-and-fully-functional/ Uskin] - A library that allows a user to skin their application GUI using the Windows ''.MSstyles'' files.
* [http://www.autoitscript.com/forum/index.php?showtopic=132864 Uskin] - A library that allows a user to skin their application GUI using the Windows ''.MSstyles'' files.
* [http://www.autoitscript.com/forum/index.php?showtopic=20967 Modern tray menu] - Allows the creation of modern, fancy GUI and tray menus with icons.
* [http://www.autoitscript.com/forum/index.php?showtopic=20967 Modern tray menu] - Allows the creation of modern, fancy GUI and tray menus with icons.
* [http://www.autoitscript.com/forum/index.php?showtopic=71811 SetOnEvent] - Provides an easy way for an event to call functions with parameters.
* [http://www.autoitscript.com/forum/index.php?showtopic=71811 SetOnEvent] - Provides an easy way for an event to call functions with parameters.
* [http://www.autoitscript.com/forum/topic/119505-guiframe-udf-melba23-version/ GUIFrame] - Divide a GUI into adjustable frames.
* [http://www.autoitscript.com/forum/index.php?showtopic=119505 GUIFrame] - Divide a GUI into adjustable frames.
* [http://www.autoitscript.com/forum/topic/113723-scrollbars-made-easy/ Easy Scrollbars] - Easily create scrollable sections in your GUI
* [http://www.autoitscript.com/forum/index.php?showtopic=113723 Easy Scrollbars] - Easily create scrollable sections in your GUI
* [http://www.autoitscript.com/forum/index.php?showtopic=105582 GUICtrlOnChangeRegister] - Call a function when an edits content is changed.
* [http://www.autoitscript.com/forum/index.php?showtopic=105582 GUICtrlOnChangeRegister] - Call a function when an edits content is changed.
* [http://www.autoitscript.com/forum/topic/96258-contexthelp-au3/ ContextHelp.au3] - Management of context help ([http://www.autoitscript.com/forum/topic/72152-contexthelp/ original])
* [http://www.autoitscript.com/forum/index.php?showtopic=96258 ContextHelp.au3] - Management of context help ([http://www.autoitscript.com/forum/index.php?showtopic=72152-contexthelp/ original])
* [http://www.autoitscript.com/forum/topic/145149-guiextender-new-version/ GUIExtender] - Expand and contract sections of your GUI. ([http://www.autoitscript.com/forum/topic/117909-guiextender_old/ original])
* [http://www.autoitscript.com/forum/index.php?showtopic=145149 GUIExtender] - Expand and contract sections of your GUI. ([http://www.autoitscript.com/forum/index.php?showtopic=117909 original])
* [http://www.autoitscript.com/forum/topic/109096-extended-message-box-new-version-3-dec-10/ ExtMsgBox] - A very customisable replacement for MsgBox
* [http://www.autoitscript.com/forum/index.php?showtopic=109096 ExtMsgBox] - A very customisable replacement for MsgBox
* [http://www.autoitscript.com/forum/topic/108445-how-to-make-toast/ Toast] - Small message GUIs which pop out of the Systray
* [http://www.autoitscript.com/forum/index.php?showtopic=108445 Toast] - Small message GUIs which pop out of the Systray


=== Controls ===
=== Controls ===
Line 80: Line 80:
* [http://www.autoitscript.com/forum/index.php?showtopic=90598 Hotkey input control] - Hotkeys Input Control UDF Library (Non-native)
* [http://www.autoitscript.com/forum/index.php?showtopic=90598 Hotkey input control] - Hotkeys Input Control UDF Library (Non-native)
* [http://www.autoitscript.com/forum/index.php?showtopic=107965 GUIHotkey] - UDF for using native hotkey controls.
* [http://www.autoitscript.com/forum/index.php?showtopic=107965 GUIHotkey] - UDF for using native hotkey controls.
* [http://www.autoitscript.com/forum/topic/103904-info-bar-like-tickertape/page__view__findpost__p__735769 Marquees] - Make tickertape info bars
* [http://www.autoitscript.com/forum/index.php?showtopic=103904&p=735769 Marquees] - Make tickertape info bars
* [http://www.autoitscript.com/forum/topic/96464-colorpicker-udf/ Colorpicker] - Create a button for the user to select a color.
* [http://www.autoitscript.com/forum/index.php?showtopic=96464 Colorpicker] - Create a button for the user to select a color.
* [http://www.autoitscript.com/forum/topic/126958-guisyslink-udf/ Syslink] - Provides a convenient way to embed hypertext links in a window
* [http://www.autoitscript.com/forum/index.php?showtopic=126958 Syslink] - Provides a convenient way to embed hypertext links in a window
* [http://www.autoitscript.com/forum/topic/74649-progressbar-with-gdiplus/ Progressbar with GDIplus] - You even can use full textured images
* [http://www.autoitscript.com/forum/index.php?showtopic=74649 Progressbar with GDIplus] - You even can use full textured images


== Maths ==
== Maths ==
Line 94: Line 94:
* [http://www.autoitscript.com/forum/index.php?showtopic=117156 NumToWord] - Convert numerals to a human readable string.
* [http://www.autoitscript.com/forum/index.php?showtopic=117156 NumToWord] - Convert numerals to a human readable string.
* [http://www.autoitscript.com/forum/index.php?showtopic=98160 Root function] - Working out real roots of numbers.
* [http://www.autoitscript.com/forum/index.php?showtopic=98160 Root function] - Working out real roots of numbers.
* [http://www.autoitscript.com/forum/topic/102686-advanced-rounding/ Advanced rounding] - Support for different measures of accuracy and 8 ways to resolve tie breaks.
* [http://www.autoitscript.com/forum/index.php?showtopic=102686 Advanced rounding] - Support for different measures of accuracy and 8 ways to resolve tie breaks.


== Misc ==
== Misc ==
* [http://www.autoitscript.com/forum/topic/90492-hotkey-au3/ Hotkey.au3] - Management of Hotkeys UDF, with several advantages over HotkeySet().
* [http://www.autoitscript.com/forum/index.php?showtopic=90492 Hotkey.au3] - Management of Hotkeys UDF, with several advantages over HotkeySet().
* [http://www.autoitscript.com/forum/topic/97826-animateau3-updated/ Animated tray icons] - Make animated tray icons easily.
* [http://www.autoitscript.com/forum/index.php?showtopic=97826 Animated tray icons] - Make animated tray icons easily.
* [http://www.autoitscript.com/forum/topic/101733-prevent-dotted-focus-lines-on-controls/ NoFocusLines] - Remove the dotted focus lines from buttons, sliders, radios and checkboxes which spoil the look of your GUI
* [http://www.autoitscript.com/forum/index.php?showtopic=101733 NoFocusLines] - Remove the dotted focus lines from buttons, sliders, radios and checkboxes which spoil the look of your GUI
* [http://www.autoitscript.com/forum/topic/114034-stringsize-m23/ StringSize] - Automatically size controls to fit the text you want to put in them
* [http://www.autoitscript.com/forum/index.php?showtopic=114034 StringSize] - Automatically size controls to fit the text you want to put in them
* [http://www.autoitscript.com/forum/topic/104150-json-udf-library-fully-rfc4627-compliant/ JSON] - RFC4627 compliant JSON encode/decode
* [http://www.autoitscript.com/forum/index.php?showtopic=104150 JSON] - RFC4627 compliant JSON encode/decode


[[Category:UDF]]
[[Category:UDF]]

Revision as of 23:09, 9 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