Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/02/2019 in all areas

  1. Jos

    Standard UDF library

    Yea right.... did you actually read the first post? This is a set of UDF's I worked on in 2004 now incorporated in the standard installer of AutoIt3. Jos *click*
    1 point
  2. iamtheky

    RegExp Help ^_^

    I am not attempting to question the efficacy of your chosen path, nor generate a solution. Just trying to show you how to make things optional inline, which is easier to highlight in this fashion. Is this closer to feasible for an example? #include<array.au3> Global $strString2 = "[BLABLA][Autre][60][Demandeur][4567_987654]" & @CRLF & @CRLF & _ "Bonjour," & @CRLF & _ "Charles HENRY vous envoie un message." & @CRLF & _ "J'ai un problème de toilette" & @CRLF & _ "Merci de m'aider" & @CRLF & _ "- email : Jordane.AutoIT@AutoITForum.com" & @CRLF & _ "- tél. : 0607080909" Global $strString3 = "[BLABLA][Autre][60][Demandeur]autere" & @CRLF & @CRLF & _ "Bonjour," & @CRLF & _ "Charles HENRY vous envoie un message." & @CRLF & _ "J'ai un problème de toilette" & @CRLF & _ "Merci de m'aider" & @CRLF & _ "- email : Jordane.AutoIT@AutoITForum.com" & @CRLF & _ "- tél. :" Global $strString4 = "[BLABLA][Autre][60][Demandeur]" & @CRLF & @CRLF & _ "Bonjour," & @CRLF & _ "Charles HENRY vous envoie un message." & @CRLF & _ "J'ai un problème de toilette" & @CRLF & _ "Merci de m'aider" & @CRLF & _ "- email : Jordane.AutoIT@AutoITForum.com" & @CRLF & _ "- tél. : " $aMatch = stringregexp(StringStripWS($strString2 , 8) , "\[.*?\]\[.*?\]\[(.*?)\]\[(.*?)\]\[*(.*?)\]*?Bonjour,([A-Z].+?)([A-Z].+?)vous.*?email:(.*?)-tél.:(.*?)\z",3) _ArrayDisplay($aMatch)
    1 point
  3. FrancescoDiMuro

    RegExp Help ^_^

    @caramen Maybe something like this? #include <Array.au3> #include <StringConstants.au3> Global $strString = "[BLABLA][Autre][60][Demandeur][4567_987654]" & @CRLF & @CRLF & _ "Bonjour," & @CRLF & _ "Charles HENRY vous envoie un message." & @CRLF & _ "J'ai un problème de toilette" & @CRLF & _ "Merci de m'aider" & @CRLF & _ "- email : Jordane.AutoIT@AutoITForum.com" & @CRLF & _ "- tél. : 0607080909" Global $strPattern = "(?s)\[[^]]+\]\[[^]]+\]\[([^]]+)\]\[([^]]+)\]\[([^]]+)\].*?" & _ "Bonjour,\s*(.*?)(?=vous).*?" & _ "\-\s*email\s*:\s(\S+)\s*" & _ "\-\s*tél\.\s*:\s([^\n]+)" Global $arrResult $arrResult = StringRegExp($strString, $strPattern, $STR_REGEXPARRAYGLOBALMATCH) If IsArray($arrResult) Then _ArrayDisplay($arrResult)
    1 point
  4. Hi @frobber, and welcome to the AutoIt forums Maybe something like this? (?i)^([-a-z0-9]+\.[a-z]+(?:\.[a-z]+)?)$
    1 point
  5. Look at this function _WinAPI_GetKeyState ($VK_*). I just tested it in x86 and x64 and it is working fine...
    1 point
  6. You should try SimpleSpy from UIAutomation (you can find more here)
    1 point
  7. ISI360

    ISN AutoIt Studio

    Just a little spoiler for the next update (1.09) 😎
    1 point
  8. I have a simple autoit script which waits for the Windows Security pop up then enters the credentials and hits enter.(Code below). The trouble is after the credentials are entered, Windows Security continues to pop up. I have checked the credentials and they work properly when I log in manually. Why does Windows Security continue to pop up until the login eventually fails. Code: WinWaitActive("Windows Security") Send("username") Send("{TAB}") Send("password") Send("{ENTER}")
    1 point
  9. Have you reviewed this thread?
    1 point
×
×
  • Create New...