Sign in to follow this  
Followers 0
Tarte

Im Creating New Users

4 posts in this topic

:whistle:

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")

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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
:whistle:

without double spaces.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0