Miliardsto Posted January 18, 2018 Posted January 18, 2018 Hello . How to do that $regexp = starts from "abcdef" and after this could be anything in name WinActivate($regexp)
jdelaney Posted January 18, 2018 Posted January 18, 2018 (edited) Edit: syntax error: #include <Array.au3> $a = WinList("[REGEXPTITLE:\A[a|b|c|d|e|f]]") _ArrayDisplay($a) Assuming you mean that the starting character can be a, b, c, d, e, or f....correct? Otherwise, this works...if it's just a string: AutoItSetOption("WinTitleMatchMode",1) ; this is not necessary, as 1 is the default...unless you have changed this setting earlier in your script. WinActivate("abcdef") Edited January 18, 2018 by jdelaney Miliardsto 1 IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
Miliardsto Posted January 18, 2018 Author Posted January 18, 2018 I mean there is "abcdef" <- one world it must be on the beginning and after this world could be anthing like series of characters and digits
jdelaney Posted January 19, 2018 Posted January 19, 2018 Then my second snippet would work. IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now