Sign in to follow this  
Followers 0
Wolfshare

Send ctrl +r untill exist

3 posts in this topic

Hello, i would like to get some help, i wanted to do script which sending ctrl +r until page named "Mixxx - The Virtual DJ" exist, so i tried this..

WinActivate("Firefox")
    endif
sleep(7000)
    if not WinExists("Mixxx - The Virtual DJ") Then
    Send( "^r" ) 
    Send("{ENTER}")
   Send("{ENTER}")
 EndIf
sleep(6500)
          if not WinExists("Mixxx - The Virtual DJ") Then
    Send( "^r" ) 
     Send("{ENTER}")
   Send("{ENTER}")
 EndIf
       Sleep(6000)
    if WinExists("Mixxx - The Virtual DJ") Then

endif

but that is not good idea :(

Share this post


Link to post
Share on other sites



maybe like this ? :

While not WinExists("Mixxx - The Virtual DJ")
Send( "^r" )
Send("{ENTER}")
Send("{ENTER}")
WEnd

bye


small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

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