Jump to content

Leaderboard

Popular Content

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

  1. Hello! Microsoft Edge, the new browser released with Windows 10, uses Chakra as its JavaScript engine. In January, Microsoft released ChakraCore - the open source version of the engine that can be used in other apps. So, how about using it in AutoIt? I tried 2 times to create ChakraCore UDF, and I succeeded. So here it is - the ChakraCore UDF. Features: Executing JavaScript from AutoIt (obviously) Passing data from AutoIt to JavaScript Calling AutoIt functions from JavaScript ChakraCore UDF Have fun!
    1 point
  2. Seems you didn't read the forum rules on your way in. I suggest to do so now and you will see why you do not get any support on this subject.
    1 point
  3. mikell

    Regex help

    My 2 cents ;$string = "0.0.0000.123" $string = "0.0.0000.0123" $res = Execute("'" & StringRegExpReplace($string, ".*\.\K(\d{3,4})", "' & StringFormat('%05.2f', '$1'/100 ) & '") & "'") MsgBox(0,"", $res)
    1 point
  4. jguinch

    Regex help

    $string = "0.0.0000.123" $res = StringRegExpReplace(StringRegExpReplace( $string, "\.(\d{3})$", ".0$1"), "(\d{2})$", ".$1") ConsoleWrite($res)
    1 point
  5. EmaBepi

    SQLite

    since I use google translator, some times in the copy of the text in English it also takes the html code that contains the translation in the box
    1 point
  6. Use the SciTeConfig -> Other Tool tab -> Run AutoIt3/SciTE Check. I have open set for mine. Here is what is returned. Here is the RegWrite call to set it to open. RegWrite("HKCR\AutoIt3Script\Shell", "", "REG_SZ", "Open") Adam
    1 point
  7. kashamalasha, This works for me - how about you? M23
    1 point
  8. Use this: Func Select_Template($sListItem) #cs _SQLite_QuerySingleRow($hDB, _ "SELECT Content " & _ "FROM Templates " & _ "WHERE ID = " & $sListItem & ";", $aRow) ;~ MsgBox(64, "Test: " & $sListItem, $aRow[0]) #ce Dim $aRow[1] ;just for test delete it $aRow[0]="^XA^FX | Delete files from FLASH (E:) | ^FS^IDE:X5_*.*^FS^XZ" ;just for test delete it $aRow[0]=StringStripWS(StringReplace(StringReplace($aRow[0],"^",@CRLF&"^"),@CRLF&"^FS","^FS"),$STR_STRIPLEADING) GUICtrlSetData($hEdit, $aRow[0]) WinSetTitle($hMainGUI, "", "Test: " & $sListItem) EndFunc ;==>Select_Template Run >= once without any change, after tested with the hardcoded line, delete the 2 "just for test lines" and try with real data, this means also delete lines #cs and #ce.
    1 point
×
×
  • Create New...