AutoIt Snippets: Difference between revisions
Jump to navigation
Jump to search
m (→Examples: Added Snippet Credit Header) |
m (Edited Snippet Header to reflect) |
||
Line 8: | Line 8: | ||
{{Snippet Credit Header}} | {{Snippet Credit Header}} | ||
{{Snippet Header|_IsInternetConnected|35302-guinness|guinness|| | {{Snippet Header|_IsInternetConnected|35302-guinness|guinness|||1|AutoItCode = ConsoleWrite("Internet Is Connected" & " = " & _IsInternetConnected() & @CRLF) ; ( Returns "True" Or "False" ) | ||
ConsoleWrite("Internet Is Connected" & " = " & _IsInternetConnected() & @CRLF) ; ( Returns "True" Or "False" ) | |||
Func _IsInternetConnected() | Func _IsInternetConnected() | ||
Line 20: | Line 17: | ||
Return $aReturn[0] = 0 | Return $aReturn[0] = 0 | ||
EndFunc ;==>_IsInternetConnected | EndFunc ;==>_IsInternetConnected | ||
}} | |||
{{Snippet Header|_PasswordCrypt|4920-valuater|Valuater|35302-guinness|guinness|1|AutoItCode = #include <Crypt.au3> | |||
#include <Crypt.au3> | |||
Local $sGenericPassword_1 = 'Password@AutoIt', $sGenericPassword_2 = 'NewPassword@AutoIt', $sSavePath = @ScriptDir & '\License.dat' | Local $sGenericPassword_1 = 'Password@AutoIt', $sGenericPassword_2 = 'NewPassword@AutoIt', $sSavePath = @ScriptDir & '\License.dat' | ||
Line 44: | Line 38: | ||
Return SetError(1, 0, '') | Return SetError(1, 0, '') | ||
EndFunc ;==>_PasswordCrypt | EndFunc ;==>_PasswordCrypt | ||
}} | |||
=== Snippet Creation Help. === | === Snippet Creation Help. === |
Revision as of 23:47, 11 November 2012
Welcome To The AutoIt Snippets Page ~ ( Snippet - A short reusable piece of computer code )
These are generally single functions or small pieces of AutoIt code that you can add into your script which give extra functionality.
This will cover a wide variety of subjects and uses, maybe anything from finding if an internet connection is working or possibly the date Windows was installed, this page is intended to give easy access to the functions.
Examples
{{{AuthorName}}}
{{{AuthorName}}}
Snippet Creation Help.
AutoIt Snippets Collection
AutoIt ~ AutoIt Examples.
- Audio Related ( Last Updated ~ 16:58, 21 May 2012 (BST) )
- AutoIt Miscellaneous ( Last Updated ~ 12:22, 1 August 2012 (BST) )
- AutoIt Array Related ( Last Updated ~ 13:17, 21 May 2012 (BST) )
- AutoIt Mouse & Keyboard ( Last Updated ~ 07:52, 3 August 2012 (BST) )
- AutoIt String Related ( Last Updated ~ 12:45, 1 August 2012 (BST) )
- Checkboxes & Radio
- GUI ( Last Updated ~ 12:11, 1 August 2012 (BST) )
- Graphics And Images ( Last Updated ~ 12:37, 1 August 2012 (BST) )
Hardware ~ Hardware Examples.
- Hardware Information ( Last Updated ~ 11:02, 30 April 2012 (BST) )
Numbers ~ Math, Number & Time Examples.
- Math & Numbers ( Last Updated ~ 12:07, 1 August 2012 (BST) )
- Time & Date ( Last Updated ~ 14:11, 21 May 2012 (BST) )
Miscellaneous ~ All Other Examples
- Miscellaneous ( Last Updated ~ 12:35, 1 August 2012 (BST) )
Networking ~ Network, Wireless and Internet Examples.
- Network ( Last Updated ~ 12:33, 1 August 2012 (BST) )
- Internet ( Last Updated ~ 12:30, 1 August 2012 (BST) )
- Wireless
Windows ~ Windows Examples.
- CMD ~ Commandline
- Files & Folders ( Last Updated ~ 12:16, 1 August 2012 (BST) )
- Registry
- Windows Information ( Last Updated ~ 11:27, 30 April 2012 (BST) )
- Windows OS ( Last Updated ~ 14:35, 21 May 2012 (BST) )
- Windows Settings ( Last Updated ~ 12:07, 1 August 2012 (BST) )
- Windows Account Management ( Last Updated ~ 14:13, 21 May 2012 (BST) )