Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/23/2012 in all areas

  1. I have already published a lot of AutoIt UDF about algorithm, but all of them only support 32 bits or so called X86 system. Recently I got a computer with Windows 7 64 bits, so I finally added X64 support to most of my old projects. Besides, I also added some new. For example, some compression algorithm and SHA3 Candidates. Following are the algorithms list: Checksum CRC16 CRC32 ADLER32 Compression FastLZ LZF LZMA LZMAT MiniLZO QuickLZ Encode Base64 ARC4 XXTEA DES AES Hash Checksums (CRC16/CRC32/ADLER32) MD2 MD4 MD5 SHA1 SHA2 (SHA224/256/384/512) SHA3 Candidates BLAKE BMW (Blue Midnight Wish) CUBEHASH ECHO SHABAL SKEIN Some points to mention: All of the subroutines have one or more examples to demonstrate the usage. Since the function and usage of subroutine are easy to understand. A complete subroutines and parameters list are unavailability now. Sorry for my lazy. All of the subroutines here invoked by Lazycat's method (through CallWindowProc API). My MemoryDLL UDF is not necessary this time. Although MemoryFuncCall (part of MemoryDLL) is still good, but inevitably, it is slower than CallWindowProc. Some subroutines have the same name with my old machine code version UDF. But for some reason, I rearrange the position of the parameters. Please not mix up. If you notice, yes, checksums are duplicated. But they receive different parameters. One is the old style, and another use the same interface as other hashes. Choose what you like, but don't use them in the same time. Some algorithm already supported by the standard UDF "Encryption.au3". But I still provide them, because some system lack of the full support of Windows Crypt Library. If you are looking for only one hash algorithm, for example, used in encryption, I suggested "SHABAL_TINY.au3". Although it is a bit slower then SHABAL, but it is smaller, and it supports different size of output (from 32 to 512 bits).AutoIt Machine Code Algorithm Collection.zip
    1 point
  2. Of course not, but see cszardas' next post. $var1 = "create and assign" ...is perfectly valid syntax. When AutoIt encounters that line of code it will automatically scope the variable depending on where it found it, either inside or outside a function, it will also check if variable exists and what scope it has. Upon that it will proceed with declaration and data and scope assignment. On the other hand Au3Check does not have ability to execute the code and it uses different algorithm in order to determine the scope of the variable. Even though the algorithm is different, the result in ideal (no bug) scenario should be the same. Au3Check have ability to warn coder about non-explicitly declared variables. The warning message is "possibly not declared yet". That's not error, it's merely a warning. It warns about implicit declaration to promote good AutoIt coding practice of explicitly scoping a variable.
    1 point
  3. 12321, You have the problem because you cannot create a control using the UDF function and then expect to action it using the GUICtrl* functions - they are used for controls created with AutoIt's native GUICtrlCreate* functions. As you can see from the example for _GUICtrlButton_Create, you need to look for the WM_COMMAND message to find out if the button was clicked. All clear? M23
    1 point
  4. guinness

    Controlsend func

    Firefox can't be automated using ControlSend as it doesn't use the Windows API to create the GUI. Only these functions can be used with GUIs and controls created using the API, which is still quite a high percentage that are. Anyway from our previous discussion, I believe you have a grasp on improving your knowledge of AutoIt. Search the Forum for Firefox UDF, but be aware that learn the basics first.
    1 point
  5. guinness

    Mouseclick

    But then the next question is you know AutoIt can natively do math. Local $iVar = 9 + 9 MsgBox(4096, '', $iVar)
    1 point
  6. guinness

    Mouseclick

    I'm feeling extra nice. But please use the help file to understand and search for Au3Info. Example() Func Example() ; Run Calculator Run('calc.exe') ; Wait 10 seconds for the Calculator window to appear. Local $hWnd = WinWait('[CLASS:CalcFrame]', '', 10) ; Click on the button number 9. ControlClick($hWnd, '', '[CLASS:Button; INSTANCE:14]') ; Wait for 2 seconds. Sleep(2000) ; Click on the + button. ControlClick($hWnd, '', '[CLASS:Button; INSTANCE:23]') ; Wait for 2 seconds. Sleep(2000) ; Click on the button number 9. ControlClick($hWnd, '', '[CLASS:Button; INSTANCE:14]') ; Wait for 2 seconds. Sleep(2000) ; Click on the = button. ControlClick($hWnd, '', '[CLASS:Button; INSTANCE:28]') ; Wait for 2 seconds. Sleep(2000) ; Close the Notepad window using the handle returned by WinWait. WinClose($hWnd) EndFunc ;==>Example
    1 point
×
×
  • Create New...