Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/01/2014 in all areas

  1. 6/3/2014: re-Uploaded a new SciTE4AutoIt3.exe installer with an updated SciTE v3.4.1 release. These are the major changes: - 6/3 Fixed several regressions. - Fixes for reported bugs in Au3Stripper. - Many other minor fixes. Enjoy, Jos Addition/Changes/Fixes in the current installer: -------------------------------------------------------------------------------------------------- 6/3/2014 *** Updated AutoIt3Wrapper 2.2.0.3 (Jos) - Reverted the changes made for Environment variables translation due to a regression when using the GUI. *** Updated Tidy v2.4.1.6 (Jos) - Fixes regression when Delim=0 in some occasions adding a extra "(" character. *** Updated Syntax files to latest production version (Jos) *** Updated several small Helpfile issues. *** Included the proper latest version of the totally re-written AutoItIndentFix.lua. -------------------------------------------------------------------------------------------------- 5/31/2014 *** Updated our version of SciTE v 3.4.1 by Neil Hodgson. (Jos) - Fixed hardcrash in case a very long error line is displayed without spaces. *** Totally re-written the logic used in AutoItIndentFix.lua to better handle Auto Indent corrections. *** Updated AutoIt3Wrapper 2.2.0.2 (Jos) - Added to option to add Environment variables to #AutoIt3Wrapper directives. *** Updated SciTEConfig v1.6.11.13 - Fixed issue with Save+Apply asking again to update the settings. (Jos) - Fixed issue with 3 Checkboxes causing a flicker of the Status field. (Jos) - Fixed issue in UCTManager. (Melba23) *** Updated Tidy v2.4.1.5 (Jos) - Several minor spacing fixes with new syntax variations. - Changed the logic to restore the Folds, Bookmarks, initial line displayed and caret position to make it work on multiple instances of SciTE and better restore the original layout. - Fixed bug when using more than 200 include files. - Fixed writing Indent characters in Commentblocks for empty lines. - Fixed writing ending CRLF in case End_With_NewLine=0 when in commentblock or on commentline. *** Updated Au3Stripper v1.2.1.0 (Jos) - Fixed lexing issue which was in some occasions stripping variables while being used. - Fixed issue when /MO is specified to ensure no other option is performed crippling the output script. - Fixed bug when using more than 200 include files. *** Updated SciTEJump to the latest version v2.18.103.243 (guinness) -------------------------------------------------------------------------------------------------- ==> ScitillaHistory page containing all SciTE/Scintilla updates. ==> Visit the SciTE4AutoIt3 Download page for the latest versions ==> Check the newly formatted online documentation for an overview of all extras you get with this installer.
    1 point
  2. Is that working for you? #include <Array.au3> Global $array1[100000], $array2[111111], $i, $t, $fProgress ConsoleWrite("Creating test array... ") $t = TimerInit() For $i = 0 To UBound($array1) - 1 $array1[$i] = Random(0, 100000, 1) $array2[$i] = Random(0, 111111, 1) Next ConsoleWrite("done in " & Round(TimerDiff($t), 2) & " ms." & @CRLF) Global $aResult = ArrayCompare($array1, $array2) ConsoleWrite(UBound($aResult) & @CRLF) ;~ _ArrayDisplay($aResult) Func ArrayCompare(ByRef $a1, $a2) ConsoleWrite("Sorting 2nd array... ") Local $t = TimerInit() _ArraySort($a2) ConsoleWrite("done in " & Round(TimerDiff($t), 2) & " ms." & @CRLF) Local $i, $c = 0, $iUB = UBound($a1) > UBound($a2) ? UBound($a1) : UBound($a2), $aNew[$iUB], $iUB = UBound($a1) - 1 ConsoleWrite("Searching " & $iUB & " elements in " & UBound($a2) - 1 & " elements ... ") AdlibRegister("Show_Progress", 500) $fProgress = 0 ProgressOn("Progress Meter", "Be patient, searching for duplicates...", "0%") $t = TimerInit() For $i = 0 To $iUB If _ArrayBinarySearch($a2, String($a1[$i])) > -1 Then ContinueLoop Else $aNew[$c] = $a1[$i] $c += 1 EndIf $fProgress = $i / $iUB * 100 Next ReDim $aNew[$c] ConsoleWrite("done in " & Round(TimerDiff($t), 2) & " ms." & @CRLF & @CRLF) AdlibUnRegister("Show_Progress") ProgressOff() Return $aNew EndFunc Func Show_Progress() ProgressSet($fProgress, StringFormat("%.2f %", $fProgress)) EndFunc Br, UEZ
    1 point
  3. LarsJ

    StgCreateStorageEx example

    In the remarks for StgCreateStorageEx you can read the following: "This function cannot be used to open an existing file; use the StgOpenStorageEx function instead." If you use these values Global Const $STGM_READ = 0x00001000+0x00000010+0x00000002 Global Const $STGFMT_ANY = 0 your code will create a new ole.bin (remove an existing file before you run the code).
    1 point
  4. somdcomputerguy, And where is the "© Melba23" sign? M23
    1 point
  5. موفق باشید و برنامه نویسی خوب (Good luck and good programming) Is that right?
    1 point
  6. You know, I was using the SoundPlay function in one of my scripts, and sometimes it just didn't seem to work. I have replaced that line with that ShellExecute line of code that I posted above, and it works a whole lot better. So by trying to help you, I have helped myself! So, thanks! edit: You will probably end up having to use the ProcessClose function afterwords, so the code I'm using is - ShellExecuteWait("foghorn.mp3", "", "", "open", @SW_HIDE) ProcessClose("wmplayer.exe") Refer to the Help file for descriptions of the ShellExecuteWait and ProcessClose functions.
    1 point
  7. Using uppercase vs. lowercase to resolve an issue is something I've seen mentioned more than once by others in this forum. Whenever I've seen a post like that, and it did resolve whatever the issue was, I've always thought to myself, "something like that is so logical, but I wouldn't of thought of it".. I just made that post before one of the real AutoIt gurus did.. I'm glad you got it working!
    1 point
  8. Try it with a lowercase r, in the Send.
    1 point
  9. This is taken from the Help file: I don't know how your computer is configured, so I would recommend that you don't forget to use that verb if that works for you.
    1 point
×
×
  • Create New...