Jump to content

Leaderboard

Popular Content

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

  1. Local $sString $sString &= '19,"9/4/2017 3:19:57 PM","-2:00",,"Screen","7000",,B7fspf' & @CRLF $sString &= '20,"9/4/2017 3:19:58 PM","-2:00",,"Screen","7710",,qmhkNN' & @CRLF $sString &= '21,"9/12/2017 3:20:27 PM","-2:00",,"Screen","9990",,9ui/GX' & @CRLF $sString &= '22,"12/4/2017 3:32:53 PM","-2:00",,"Screen","7710",,J4jAYc' & @CRLF $sString &= '23,"9/5/2017 6:22:02 AM","-2:00",,"Screen","9900",,nSI+V0' & @CRLF $sString &= '24,"9/5/2017 6:22:05 AM","-2:00",,"Alarm: 9538",,,j8V9qI ' & @CRLF $sString &= '25,"9/5/2017 6:22:05 AM","-2:00",,"Screen","7710",,C2fSO3' & @CRLF $sString &= '26,"9/5/2017 6:22:08 AM","-2:00",,"Screen","9900",,jmwr/j' $sString = Execute("'" & StringRegExpReplace($sString, '(\d+)/(\d+)/(\d+)\h+(\d+)', _ "$3/' & StringFormat('%02i', '$1') & '/' & StringFormat('%02i', '$2') & ' ' & StringFormat('%02i', '$4') & '") & "'") Msgbox(0,"", $sString)
    1 point
  2. Rkey, Just use ControlClick: ;Trying to click the 1st link ControlClick($hMainGUI, "", $aLink[1]) ;local $hwnd = GUICtrlGetHandle ($aLink[1]) ;_DebugPrint($hwnd & ' search for handle') ;local $return = _SendMessage($hwnd, $BM_CLICK, 0) ;_DebugPrint($return & ' return from sendmessage') For me that fires the _ShowMessage function for the correct control. M23
    1 point
  3. You mean you want to ignore diacritics in roman languages and convert accented and otherwise decorated characters to their "closest" unaccented base char? If you want to perform this without embarquing the whole ICU library (a monster) yet obtain a relatively correct result you can do the following: use a Windows primitive to convert the UTF16 AutoIt string having normalization form C (NFC) into an UTF16 string having form D (NFD, or better form NFKD if this looks better for you). Then process this string to drop any codepoint > 0x127. This last step can be easily and elegantly done by a regexp. Consult this primer: https://en.wikipedia.org/wiki/Unicode_equivalence For how to persuade Windows to convert from one form into another, see: https://msdn.microsoft.com/en-us/library/windows/desktop/dd374126(v=vs.85).aspx
    1 point
  4. JLogan3o13

    doubt about FileInstall

    Regarding including source code with the script, I do this for all of mine: If StringInStr($cmdlineRaw, "/Extract") Then FileInstall("<path to script>", @TempDir & "\Extracted.au3", 1) Exit EndIf But the answer to your other question is the more important one; it is not going to be secure.
    1 point
  5. Version 5.0 - Changelog - 03.09.2017 New features: Hover effects, minimize,maximize,restore and other GUI effects are now working natively, there is no need to call any function in a loop. This also allows the hover effects to work if the main script is paused due to "Sleep, Msgbox etc." The hover effects now work slightly faster and create less CPU usage, however the startup time of the main script is slightly increased. Thanks to @binhnx for his SSCtrlHover UDF. Maximize, Minimize, Fullscreen and Restore buttons now work natively, meaning you don't need to set actions for them manually. If you prefer handling the buttons manually, then you can disable this by setting "$ControlBtnsAutoMode = False" Added _Metro_CreateButtonEx2 -> Creates a slightly rounded button without a frame around. Hovering changes the button color to a lighter color. Added _Metro_CreateCheckboxEx2 -> Creates a modern round checkbox. Added _Metro_CreateRadioEx -> Creates a metro style radio with colored checkmark. Added "_Metro_RightClickMenu" an easy to use rightclick menu. You can use this with listviews or anything else. Check out the example for a demo of the rightclick menu and how to implement it. -> Rightclick on Button3 to show the menu. Added multiple new themes with flat colors and updated the old themes. Check out the example for a demo with all themes by pressing the menu button -> Themes Demo Improvements: You can now delete all controls that have hover effects(buttons, checkboxes etc.) using GUICtrlDelete($ControlHandle). This will also automatically release all resources and remove the control from the global array. Many other optimizations,changes and bugfixes. Download UDF with example:
    1 point
  6. anthonyjr2

    IE.au3 compile error

    You could try grabbing the latest version of AU3Stripper.exe from here: https://www.autoitscript.com/autoit3/scite/download/beta_SciTE4AutoIt3/ It looks like it was updated today, 1/12/2017.
    1 point
×
×
  • Create New...