Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/12/2020 in all areas

  1. Nine

    XPath can't be found

    Local $sElement = _WD_FindElement($sSession, $_WD_LOCATOR_ByXPath, "//iframe[@id='sprd-consent']") _WD_FrameEnter($sSession, $sElement) Try this
    2 points
  2. Yes, it does. Thanks. Also, figured out I have never used Turkish in my code
    2 points
  3. If you save your ini file with UTF-16LE with BOM encoding, it handles Turkish characters. #include <Constants.au3> #include <Debug.au3> example() Func example() Local $aIniSection $aIniSection = IniReadSection("test.ini", "Türkçe") If @error Then Exit MsgBox($MB_ICONERROR + $MB_TOPMOST, "ERROR", "IniReadSection failed - @error = " & @error) _DebugArrayDisplay($aIniSection, "Türkçe Section") MsgBox($MB_ICONINFORMATION + $MB_TOPMOST, "Türkçe", "Key = " & IniRead("test.ini", "Türkçe", "Key", "Not Found")) EndFunc
    2 points
  4. Danp2

    XPath can't be found

    The element is inside an iframe. You need to switch to the correct context using _WD_Window or_WD_FrameEnter before searching for the element.
    1 point
  5. The console will not display it correctly. Try MsgBox.
    1 point
  6. @TheXman With this key-value pair the read key-value in SciTe is half correct [İnkılap] ççşş=asjsks Console Output: ççþþ - asjsks
    1 point
  7. @sudeepjd I like what you have done with your script, it is definitely cleaner now. Congrats.
    1 point
  8. Selam, Your usage seems to be wrong? The return from inireadsection is an array The number of elements returned will be in $aArray[0][0]. If an @error occurs, no array is created. $aArray[0][0] = Number $aArray[1][0] = 1st Key $aArray[1][1] = 1st Value $aArray[2][0] = 2nd Key $aArray[2][1] = 2nd Value Try: msgbox(0,"Example", $var2[1][0] & " - " & $var2[1][1])
    1 point
  9. @beginner10 please wait 24 hours before bumping threads. This may be the most important thing in the world to you, but spamming the forum won't get you an answer faster. We have forum members all over the world; the person most suited to assist you may not be online at this time.
    1 point
×
×
  • Create New...