Tarte Posted March 18, 2004 Posted March 18, 2004 I create a new user in DSA.MSC and the window that pops up says John Doe Properties. Of course the name will change everytime I add a new user so I tried using WinWaitActive($First_Name $Last_Name "Properties") where First_Name and Last_Name where entered in earlier to create the account. I also tried WinWaitActive("$First_Name $Last_Name Properties") & ;WinWaitActive("$First_Name $Last_Name" "Properties")
Tarte Posted March 18, 2004 Author Posted March 18, 2004 I don't remember seeing the &'s in the samples.... can you explain the & signs to me ( I geuss where I am confused is - you have a space before and after the & sign). But that would make me think it would be waiting for John Doe Properties instead of John Doe Properties Thanks
Tarte Posted March 18, 2004 Author Posted March 18, 2004 I had double spaces in my first "John Doe Properties" but this site removed it. I will replace spaces with underscores John__Doe__Properties instead of John_Doe_Properties
Josbe Posted March 18, 2004 Posted March 18, 2004 timartero, like Larry wrote,WinWaitActive($First_Name & " " & $Last_Name & " Properties")...the "&" is joining variables with the spaces. (concatenates)simply, the output will be:John Doe Properties without double spaces. AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta
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