Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/07/2018 in all areas

  1. You are getting the error due to running 32-bit AutoIt. It needs to be run in as 64-bit. Add the following to the top of your script, and it will work, at least for me it does. #AutoIt3Wrapper_UseX64=Y ;(Y/N) Use AutoIt3_x64 or Aut2Exe_x64. Default=N #include <SQLite.au3> #include <SQLite.dll.au3> _SQLite_Startup(@ScriptDir & "\Config\sqlite3_x64.dll", False, 1) If @error Then MsgBox(16, "SQLite Error", "SQLite3.dll Can't be Loaded! - " & $__g_hPrintCallback_SQLite & @CRLF & @CRLF & "Exiting application / Zavolej Honzovi") Exit -1 EndIf Adam
    1 point
  2. 1 point
  3. You probably have stable positions x y of your textbox so either click on x y location to activate textbox or do it based on percentage distance x y relative from width height of the windows. When its activated send ctrl a which will select all text in textbox and the send ctrl c to get it on clipboard. Then use clipboard functions to get it into variable.
    1 point
  4. 1 point
  5. If: [ If $n_n>10 Then Exit ] Doesn't work try: If  Int($n_n) > 10 Then Exit May be somehow it's a string Idk. Your code looks fine to me.
    1 point
  6. @milkmoron Did you add the "File.au3" library? This one: #include <File.au3>
    1 point
  7. For $n_n = 0 To 10 - 1; 0..9 is ten $ToAs = FileReadLine($hFile) If @error Then ExitLoop _INet() ;$n_n++; removed it's now the loop iterator. Local $Random = Random(20000, 50000, 1) Sleep($Random) Next I know 0 To 10 - 1 might look goofy. You are free to make it 1 To 10. Or 0 To 9. Maybe 0 To 10 if you want it to stop at 11. Or 1 To 11.
    1 point
  8. ConsoleWrite($n_n & @CRLF) BTW, your line $n_n++ is written wrong. $n_n += 1
    1 point
  9. Mad0ck

    checking a checkbox

    hmm but somehow u need to learn it. And if noone ever gonna help you, yo u cant learn something
    1 point
  10. junkew

    Chrome UDF

    The alternatives are in faq 31 described. Either uiautomation or webdriver can automate chrome. A trick to get alert javascript or any other information is to do a sendkeys javascript:.... to the addressbar with that approach the sky is more or less the limit on automation.
    1 point
  11. Melba23

    error on copy notes

    tattoofreak87, There are a whole bunch of variables in that script which are only declared within If statements. A good example is the following section: If GUICtrlRead($premoveavyes) = 1 Then $permission_av = ('Yes') If GUICtrlRead($premoveavno) = 1 Then $permission_av = ('No')If neither of the checkboxes are selected then you never declare the variable - which will cause an error later when you do this: $output &= GUICtrlRead($permissiontoremoveav) & ' ' & $permission_av & @CRLFGiven the type of error you are getting, I can well imagine that this is the reason behind it. The solution? Recast the code so that there are default declared values for the variables or, as in the case above, make sure one of the selections is premade (preferably by using a group of radiobuttons so that they toggle automatically). M23
    1 point
×
×
  • Create New...