Jump to content

Leaderboard

Popular Content

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

  1. Oh, the problem is on line 47... You see, it is a tad difficult to help you if you don't bother posting your code.
    2 points
  2. Is the $UD_uszi_belepesRun also declared at the start of your script? Then you have declared it twice, remove the declaration in the function. (KP_VJ_vasarlas() does not set its own flag to false at the end of the function) Func UD_uszi_belepes() ;function that starts to run Local $StartFileSelectFolder = FileSelectFolder("Adja meg az UD_uszi.exe MAPPÁJÁT!", "") Run($StartFileSelectFolder & "\UD_uszi.exe") Sleep(3000) WinActivate("UD ÜSZI") ControlSetText("TLoginForm", "UD ÜSZI", "TEdit2", "BALAZSGE") Send("{TAB}BALAZSGE") Sleep(50) Send("{ENTER}") $UD_uszi_belepesRun = False ; Remove The Global from this line EndFunc ;==>UD_uszi_belepes
    1 point
  3. My point is there is nothing as in the posted code that calls the function, your posted code does not reproduce the issue you are having. The problem is most likely somewhere else in your code. Edit: Its also a bad idea to decleare a global vaiable inside a Function, better do it at the top of your script. Global $UD_uszi_belepesRun = False
    1 point
  4. Malkey

    RegEx output to Array

    Use "&" to concatenates/joins two strings. Local $VAR = 100 ; The "\b" word boundaries prevent 10 or 0 being matched when the $VAR is 100. If StringRegExp("TEST 100", "(?ism)\b" & $VAR & "\b") Then MsgBox(0, "Results", $VAR & " is present in the subject test string") Else MsgBox(0, "Results", $VAR & " is not present in the subject test string") EndIf
    1 point
×
×
  • Create New...