Sign in to follow this  
Followers 0

Need some help

7 posts in this topic

Posted

Hello all, im new to autoit, i just wonder how i can make this line work always:

If WinWaitActive("rdpbase - " & $server & " - Remote Desktop", "", 10) Then

even if there no winwaitactive..

i want it to do the rest of things...

Thank you.

Share this post


Link to post
Share on other sites



Posted

anyone?

Share this post


Link to post
Share on other sites

Posted (edited)

Hello all, im new to autoit, i just wonder how i can make this line work always:

Maybe you need to start with ready the forum rules and avoid bumping a thread within 20 minutes. Edited by Jos

Share this post


Link to post
Share on other sites

Posted (edited)

I don't know where you got the impression from that all posts are answered within an hour of posting. Be a little more grateful and respectful that those who post do so during their free time and on a voluntary basis.

If you had paid for premium support then this would be a different matter entirely, but you haven't and you can't.

In the 19 minutes that you spent waiting could have been put to good use reading the Help file, I suggest you do that first instead of telling people to write code for you and secondly your problem is very vague indeed.

Edited by guinness

Share this post


Link to post
Share on other sites

Posted

If it doesn't matter if the Window is Active then why have they WinWaitActive()?

Do

; {Other Stuff}

Until WinActive()

Share this post


Link to post
Share on other sites

Posted

i tired its not working:

If WinWaitActive("rdpbase - " & $server & " - Remote Desktop", "", 10) Then

; Send Username And Password

Send("!u")

sleep(200)

thats the lines i have

Share this post


Link to post
Share on other sites

Posted

Doubt if this will ever work for an RDP session.

Check with au3info on the information that is available to autoit3.

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

  • Recently Browsing   0 members

    No registered users viewing this page.