AutoIt Snippets: Difference between revisions

From AutoIt Wiki
Jump to navigation Jump to search
m (Edited Snippet Header to reflect)
mNo edit summary
Line 8: Line 8:
{{Snippet Credit Header}}
{{Snippet Credit Header}}


{{Snippet Header|_IsInternetConnected|35302-guinness|guinness|||1|AutoItCode = ConsoleWrite("Internet Is Connected" & " = " & _IsInternetConnected() & @CRLF) ; ( Returns "True" Or "False" )
{{Snippet Header|_IsInternetConnected|35302-guinness|guinness||||AutoItCode = ConsoleWrite("Internet Is Connected" & " = " & _IsInternetConnected() & @CRLF) ; ( Returns "True" Or "False" )


Func _IsInternetConnected()
Func _IsInternetConnected()
Line 19: Line 19:
}}
}}


{{Snippet Header|_PasswordCrypt|4920-valuater|Valuater|35302-guinness|guinness|1|AutoItCode = #include <Crypt.au3>
{{Snippet Header|_PasswordCrypt|4920-valuater|Valuater|35302-guinness|guinness||AutoItCode = #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'

Revision as of 00:37, 12 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


Please always credit an author in your script if you use their code. It is only polite.


{{{AuthorName}}}








{{{AuthorName}}}








Snippet Creation Help.

AutoIt Snippets Collection

AutoIt ~ AutoIt Examples.

GUI ~ Anything GUI related.

Hardware ~ Hardware Examples.

Numbers ~ Math, Number & Time Examples.

Miscellaneous ~ All Other Examples

Networking ~ Network, Wireless and Internet Examples.

Windows ~ Windows Examples.