Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/02/2017 in all areas

  1. Features: Create modern looking borderless and resizable GUIs with control buttons (Close,Maximize/Restore,Minimize, Fullscreen, Menu) True borderless, resizeable GUI with full support for aerosnap etc. Many color schemes/themes included. See MetroThemes.au3 for more details. 3 type of Windows 8/10 style buttons. Modern checkboxes, radios, toggles and progressbar. All buttons, checkboxes etc. have hover effects! Windows 10 style modern MsgBox. Windows 10/Android style menu that slides in from left. Windows 10 style right click menu Credits: @UEZ, for the function to create buttons with text using GDIPlus. @binhnx for his SSCtrlHover UDF Changelog: Download UDF with example:
    1 point
  2. After very hard working for two days, the FAST AES UDF finally here. These functions use the embedding DLL technique and the codes are almost all written in low-level language, so it is PURE SCRIPT but run very fast. For general user, the interface is quite simple: ; To encrypt/decrypt memory block or string: $Encrypted = _AesEncrypt("Key", "Plantext") $Decrypted = _AesDecrypt("Key", $Encrypted) $Result = BinaryToString($Decrypted) ; To encrypt/decrypt file _AesEncryptFile("Key", $PlantextFilename, $ChipertextFilename) _AesDecryptFile("Key", $ChipertextFilename, $PlantextFilename) For advanced user, here are some technical details. The exactly key type of the functions should be 16, 24, or 32 bytes binary. If a string is used, the script just convert it into binary and pad 0x00. To use the binary keys, my MD5 and SHA1/SHA2 hash UDF may be helpful (here and here). For both memory and file functions, there are three block cipher modes include "CBC", "CFB", "OFB" can be specified. For example: (See "What is block cipher modes". BTW, CBC mode use the ciphertext stealing method internally.) _AesEncrypt("Key", "Plantext", "CFB") _AesDecrypt("Key", $Encrypted, "CFB") _AesEncryptFile("Key", $PlantextFilename, $ChipertextFilename, "CFB") _AesDecryptFile("Key", $ChipertextFilename, $PlantextFilename, "CFB") _AesEncrypt/_AesDecrypt operate on only one block of memory. If the data to encrypt/decrypt are not continuous, you have to handle all the work by yourself. For example: $IV = Binary("0x00000000000000000000000000000000") $Ctx = _AesEncryptKey($Key) $Ret = _AesCryptOFB($Ctx, $IV, "The quick brown fox ") $Ret &= _AesCryptOFB($Ctx, $IV, "jumps over the lazy dog") MsgBox(0, '', $Ret) $IV = Binary("0x00000000000000000000000000000000") $Ctx = _AesEncryptKey($Key) $Ret = _AesCryptOFB($Ctx, $IV, $Ret) MsgBox(0, '', BinaryToString($Ret)) CBC/CFB/OFB are different. To use the correct CTX generator and set the correct IV are important. Dig the source in AESTest.au3 may get some inspiration. Here is a summary: CBC mode uses _AesEncryptKey/_AesEncryptCBC to encrpyt and _AesDecryptKey/_AesDecryptCBC to decrypt. But if the length of source < 16 bytes, the IV returned by _AesEncryptCBC should be used. Otherwise, use the same IV as _AesEncryptCBC.CFB mode always uses _AesEncryptKey to generate a CTX, but uses _AesEncryptCFB/_AesDecryptCFB to encrypt/decrypt. However, it always uses the same IV to start.OFB mode is the simplest one. Encryption and decryption are exactly the same. See the example.Notice: Although CFB/OFB only use the _AesEncryptKey() to generate a CTX of key, but always regenerate a new CTX before starting to encrypt or decrypt. This library should pass both Known Answer Test and Monte Carlo Test. To try it, download the test vectors from here and remove the comment in AESTest.au3. Have fun!AES.zip 2008/12/06 Update Note: Update MemoryDllCall.au3 AES.zip ECB encrypt/decrypt code in asm by Brian Gladman, other parts by Ward.
    1 point
  3. water

    OutlookEX

    Version 1.7.0.1

    10,054 downloads

    Extensive library to control and manipulate Microsoft Outlook. This UDF holds the functions to automate items (folders, mails, contacts ...) in the background. Can be seen like an API. There are other UDFs available to automate Outlook: OutlookEX_GUI: This UDF holds the functions to automate the Outlook GUI. OutlookTools: Allows to import/export contacts and events to VCF/ICS files and much more. Threads: Development - General Help & Support - Example Scripts - Wiki BTW: If you like this UDF please click the "I like this" button. This tells me where to next put my development effort KNOWN BUGS (last changed: 2020-02-09) None
    1 point
  4. Jos

    [Resolved] Icon error

    Yes I know but the reason is simple: https://en.wikipedia.org/wiki/Coat_of_arms_of_the_Netherlands (some history lesson)
    1 point
  5. knuxfighter, #include <Array.au3> Global $aArray2D[][] = [["b", 98], ["a", 97], ["c", 99]] _ArrayAdd($aArray2D, "d|100") _ArrayDisplay($aArray2D, "", Default, 8) Look in the remarks section of the help file page for _ArrayAdd to see the correct syntax for adding elements to arrays. M23
    1 point
  6. Jos

    [Resolved] Icon error

    Are you sure? How are running the script and what is the ICO location? Jos
    1 point
  7. Jos

    [Resolved] Icon error

    Are you sure this one is coded correct? Global $ico_dev = GUICtrlCreateIcon(@ProgramFilesDir & "\PrimoDevDesign","img_dev.ico", -0, 8, 80, 64, 64) or should it be: Global $ico_dev = GUICtrlCreateIcon(@ProgramFilesDir & "\PrimoDevDesign\img_dev.ico", -0, 8, 80, 64, 64) Jos
    1 point
  8. 1 point
  9. The height of your GUI is 200, and you moved your button to 207...it's outside of the bounds...change it to: $idNotepad = GuiCtrlCreateButton ("Run Notepad",5,170,85,25)
    1 point
  10. jguinch

    Printer shortcut ?

    I gave you an answer on the french forum. Please have a look to it.
    1 point
  11. Not really a button, it's just "Edit" in hyperlink colors, here it's in blue, and right to the "quote", only exists in your posts obviously, and with the user logged on. PS: It's not just any baby, its Stewie!
    1 point
  12. rover

    Remove GUI title bar icon

    Replace the icon with a blank $hGUI = GUICreate("No Icon", 300, 200) GUISetIcon(@AutoItExe, -2, $hGUI) GUISetState() Do Until GUIGetMsg() = -3
    1 point
  13. GUICreate("GUI With Only Close", 250, 250, -1, -1, BitXOR($GUI_SS_DEFAULT_GUI, $WS_MINIMIZEBOX)) ;I think this one is better ;Or GUICreate("GUI With Only Close", 250, 250, -1, -1, BitAND($GUI_SS_DEFAULT_GUI, BitNOT($WS_MINIMIZEBOX))) ;Or GUICreate("GUI With Only Close", 250, 250, -1, -1, $GUI_SS_DEFAULT_GUI - $WS_MINIMIZEBOX)
    1 point
×
×
  • Create New...