Sign in to follow this  
Followers 0
qwqwwqwdwd

my script problem

2 posts in this topic

Do
   ;If _IsPressed(11) Then; the control key
        $coord = PixelSearch(0, 0, 800, 600, 0x00FFFF,10, 2)
        If Not @error = 1 Then
            MouseClick("left", $coord[0], $coord[1], 1 , 0)
            send( "Left" )
            Sleep( "5000" )
       ;EndIf
    EndIf
Until;_IsPressed(20); The Spacebar key (20)

ok when it read" send( "Left" )" it write the word ,not the key arrow down button. why?

Share this post


Link to post
Share on other sites



Do
  ;If _IsPressed(11) Then; the control key
        $coord = PixelSearch(0, 0, 800, 600, 0x00FFFF,10, 2)
        If Not @error = 1 Then
            MouseClick("left", $coord[0], $coord[1], 1 , 0)
            send( "Left" )
            Sleep( "5000" )
      ;EndIf
    EndIf
Until;_IsPressed(20); The Spacebar key (20)

ok when it read" send( "Left" )" it write the word ,not the key arrow down button. why?

because you did not read the help file for send()! It's {LEFT}, but that will NOT send

the "arrow DOWN button"!!


__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

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