Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/03/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!
    2 points
  2. I was asking @eltorro serveral times for any support for XML DOM wrapper (COM) - with no success So I took matters into my hands ..... I want to present XMLWrapperEx.au3 - BETA Version Want to join to the project ? Here is some description: ; #INDEX# ======================================================================================================================= ; Title .........: XMLWrapperEx.au3 ; AutoIt Version : 3.3.10.2++ ; Language ......: English ; Description ...: Functions to use for reading and writing XML using msxml. ; Remarks .......: BETA Version ; Author ........: mLipok ; Version .......: "1.1.1.01" ; _XML_MiscProperty_UDFVersion() #CS This UDF is created on the basis of: https://www.autoitscript.com/forum/topic/19848-xml-dom-wrapper-com/ For this reason, I attach also the last known (to me) previous version ($_XMLUDFVER = "1.0.3.98" _XMLDomWrapper_1.0.3.98_CN.au3 ) For the same reason I continue to recognize the achievements of the work of my predecessors (they are still noted in each Function header). . . . . !!!!!!!!! This is BETA VERSION (all could be changed) !!!!!!!!! . . . WORK IN PROGRES INFORMATION: For now 2015-09-01 the descripion (Function Header) can not entirely correctly describe the function. TODO: in many places I used "TODO" as a keyword to find what should be done in future . I want to: PREVENT THIS: The unfortunate nature of both the scripts is that the func return results are strings or arrays instead of objects. .     I want to: USE THIS CONCEPT:     .   All function should use Refernce to the object as first Function parameter     .   All function should return in most cases objects. There should be separate functions to Change Object collection to array     .   All function should use COM Error Handler in local scope.     .   All function should return @error which are defined in #Region XMLWrapperEx.au3 - @ERROR Enums     .    All function should have the same naming convention     .    All variables should have the same naming convention     .    There should not to be any Global Variable - exception is $g__oXMLDOM_Events     .   It should be possible easy to use XML DOM Events     .        https://msdn.microsoft.com/en-us/library/ms764697(v=vs.85).aspx     .   It should be possible easy to Debug     .    Ultimately, you should be able to do anything with your XML without having to use your own Error Handler. #CE More info inside zip archive. This UDF can be downloaded from here: REMARK: This UDF was formerly named: XMLWrapperEx.au3
    1 point
  3. Melba23

    PELock

    After multiple attempts to advertise your payware product which got you permanently moderated, you have the gall to announce via the ChatBox your intention to create a decompiler (which you had already threatened): Well, enough is enough - your account is permanently banned. And please do not bother to argue - you have already used up any flex we were prepared to show. M23
    1 point
  4. do yall even UAT (i learned my lesson from the rubiks cube, save and version everything Czardas does) no matter what you select the array looks like this $array[0][0] = 01JAN $BeginDateSelectionYear $array[ubound($array) - 1][1] = 01JAN DAY the day after $EndDateSelectionYear, with Col 0 blank.
    1 point
  5. It could be the many pages of code, or it could be my ability to navigate a date control, and you went with the latter? It is getting late over there
    1 point
  6. Windows 7 Ultimate 64 Bit Keyboard and Language set to English Format and Location set to Germany Works like a charm I had the Jan 01 to Dec 31 problem when testing (changing region/language settings). You have to restart the script and then it works... p.s. I got an empty nth element on a couple of the first tests but it looks like they were also the jan01 to dec 31 ones.. one was 3 years so not only affected by short ranges...
    1 point
  7. Row|Col 0|Col 1 [0]|01-1976-01|Thursday [1]|02-1976-01|Friday [2]|03-1976-01|Saturday [3]|04-1976-01|Sunday [4]|05-1976-01|Monday [5]|06-1976-01|Tuesday [6]|07-1976-01|Wednesday [7]|08-1976-01|Thursday [8]|09-1976-01|Friday [9]|10-1976-01|Saturday [10]|11-1976-01|Sunday [11]|12-1976-01|Monday [12]|13-1976-01|Tuesday [13]|14-1976-01|Wednesday [14]|15-1976-01|Thursday [15]|16-1976-01|Friday [16]|17-1976-01|Saturday [17]|18-1976-01|Sunday [18]|19-1976-01|Monday [19]|20-1976-01|Tuesday [20]|21-1976-01|Wednesday ... [14819]|28-2016-07|Thursday [14820]|29-2016-07|Friday [14821]|30-2016-07|Saturday [14822]|31-2016-07|Sunday [14823]|01-2016-08|Monday [14824]|02-2016-08|Tuesday [14825]|03-2016-08|Wednesday [14826]|04-2016-08|Thursday [14827]|05-2016-08|Friday [14828]|06-2016-08|Saturday [14829]|07-2016-08|Sunday [14830]|08-2016-08|Monday [14831]|09-2016-08|Tuesday [14832]|10-2016-08|Wednesday [14833]|11-2016-08|Thursday [14834]|12-2016-08|Friday [14835]|13-2016-08|Saturday [14836]|14-2016-08|Sunday [14837]|15-2016-08|Monday [14838]|16-2016-08|Tuesday [14839]|17-2016-08|Wednesday [14840]|18-2016-08|Thursday [14841]|19-2016-08|Friday [14842]|20-2016-08|Saturday [14843]|21-2016-08|Sunday [14844]|22-2016-08|Monday [14845]|23-2016-08|Tuesday [14846]|24-2016-08|Wednesday [14847]|25-2016-08|Thursday [14848]|26-2016-08|Friday [14849]|27-2016-08|Saturday [14850]|28-2016-08|Sunday [14851]|29-2016-08|Monday [14852]|30-2016-08|Tuesday [14853]|31-2016-08|Wednesday [14854]|01-2016-09|Thursday [14855]|02-2016-09|Friday [14856]|03-2016-09|Saturday [14857]|04-2016-09|Sunday [14858]|05-2016-09|Monday [14859]|06-2016-09|Tuesday [14860]|07-2016-09|Wednesday [14861]|08-2016-09|Thursday [14862]|09-2016-09|Friday [14863]|10-2016-09|Saturday [14864]|11-2016-09|Sunday [14865]|12-2016-09|Monday [14866]|13-2016-09|Tuesday [14867]|14-2016-09|Wednesday [14868]|15-2016-09|Thursday [14869]|16-2016-09|Friday [14870]|17-2016-09|Saturday [14871]|18-2016-09|Sunday [14872]|19-2016-09|Monday [14873]|20-2016-09|Tuesday [14874]|21-2016-09|Wednesday [14875]|22-2016-09|Thursday [14876]|23-2016-09|Friday [14877]|24-2016-09|Saturday [14878]|25-2016-09|Sunday [14879]|26-2016-09|Monday [14880]|27-2016-09|Tuesday [14881]|28-2016-09|Wednesday [14882]|29-2016-09|Thursday [14883]|30-2016-09|Friday [14884]|01-2016-10|Saturday [14885]|02-2016-10|Sunday [14886]|03-2016-10|Monday [14887]|04-2016-10|Tuesday [14888]|05-2016-10|Wednesday [14889]|06-2016-10|Thursday [14890]|07-2016-10|Friday [14891]|08-2016-10|Saturday [14892]|09-2016-10|Sunday [14893]|10-2016-10|Monday [14894]|11-2016-10|Tuesday [14895]|12-2016-10|Wednesday [14896]|13-2016-10|Thursday [14897]|14-2016-10|Friday [14898]|15-2016-10|Saturday [14899]|16-2016-10|Sunday [14900]|17-2016-10|Monday [14901]|18-2016-10|Tuesday [14902]|19-2016-10|Wednesday [14903]|20-2016-10|Thursday 2/26/1976 - 3.5 years prior to the greatest day in history - 10/20/2016: everything looks fine here. Day-Year-Month is not the way any US folk write dates, most write MMDDYYYY. Slashes or Dashes. Edit: Also, it started from Jan. 1 1976 eventhough i selected 2/26, that seems odd, no? I did select use long names if that changes behaviors.
    1 point
  8. I will try his selections and report back.
    1 point
  9. Unfortunately I can only confirm that in Poland this works ok.
    1 point
  10. Spanish works fine too. Saludos
    1 point
  11. thx for the information, your script works fine
    1 point
  12. I think your approach with if statement (as it stands) isn't using the best logic. I suspect since the first condition is true, the rest does not process. This is how I would do it: check the windows version first, then evaluate subversion. ;crude example If @OSVersion = "WIN_10" Then $versao_windows = 'Windows 10' If @OSBuild = 14393 Then $versao_windows &= " Edição De Aniversário" $win10ae = 1 EndIf EndIf edit: just a demo further demonstrate why your logic doesn't work: $iValueA = 1 $iValueB = 1 If $iValueA = 1 Then $sTest = "$iValue = 1" ElseIf $iValueA = 1 And $iValueB = 1 Then $sTest = "$iValue = 1 And $iValueB = 1" EndIf msgbox(0,"First demo Result",$sTest) If $iValueA = 1 Then $sTest = "$iValueA = 1" If $iValueB = 1 Then $sTest &= " And $iValueB = 1" EndIf EndIf msgbox(0,"Second demo Result",$sTest)
    1 point
  13. German also fine: Row|Col 0|Col 1 [0]|03-10-2016|Montag [1]|04-10-2016|Dienstag [2]|05-10-2016|Mittwoch [3]|06-10-2016|Donnerstag [4]|07-10-2016|Freitag [5]|08-10-2016|Samstag [6]|09-10-2016|Sonntag
    1 point
  14. Windows 7x64 Enterprise. I'll try it on Windows 10 here in a second. Edit: Same behavior on Windows 10 - for short spans element 0 seems to be affected, the nth element for longer queries
    1 point
  15. 1 point
  16. 1 point
  17. The _StringBetween expression was good (once the typo corrected) #include <String.au3> Global $sitelisturl = "https://wmtrseo.wordpress.com/sitemap.xml" $aUrlread = BinaryToString(InetRead($sitelisturl,0), 4) $aUrlextract = _StringBetween($aUrlread, 'sitemap.xsd"><url><loc>','</loc><mobile:') Msgbox(0,"", $aUrlextract[0]) ; other way $aUrlextract = StringRegExp($aUrlread, '<loc>([^<]+)', 1) Msgbox(0,"", $aUrlextract[0])
    1 point
  18. Did you try XML.au3 UDF You can find it in my signature.
    1 point
  19. @stickwiththescript welcome to the forum. Yes, you can use _Excel_RangeRead to read the column into an array. Something like this: #include <Array.au3> #include <Excel.au3> Local $oExcel = _Excel_Open() Local $oWorkbook = _Excel_BookOpen($oExcel, @DesktopDir & "\Test.xls") ;Workbook with A1-A43000 filled Local $aArray = _Excel_RangeRead($oWorkbook, Default, $oWorkbook.ActiveSheet.Usedrange.Columns("A:A")) _ArrayDisplay($aArray) Depending on how unique the different entries are, you could then use _ArraySearch, like this (I simply numbered the cells 1 to 43,000): MsgBox(0, "", "Search Item found on row " & _ArraySearch($aArray, 18246))
    1 point
  20. Hmm... I can't help you with such issue as I don't use InstallShield. Try contacting InstallShield support regarding this issue.
    1 point
×
×
  • Create New...