Jump to content

Send CTRL & ^ fails alot


Recommended Posts

Ok the {CTRLDOWN}i{CTRLUP} and the {^i} fail alot on me in this code. Any suggestion?

Func synth200()
  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  ; 200
  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
   $answer = MsgBox(4, "Synthesis Version 200", "This will run Synthesis V2 In 30sec after you click OK. Run?" & @CRLF & "Use this 30secs to get Image Support if you can!!!" & @CRLF & "REMEMBER!!! Sort your items in your Inventory before hitting OK!!!")
   If $answer = 7 Then
      MsgBox(0, "Exit", "OK.  Bye!")
      Return
   EndIf
   Sleep(30000)
   Send('{ESCAPE}')
   Sleep(1000)
   Send('{ESCAPE}')
   Sleep(1000)
   Send('{ESCAPE}')
   opt('SendKeyDelay', 500); SendKeyDelay set to 500 ms
   For $loop = 1 To 11
      Sleep(500)
      Send('{CTRLDOWN}i{CTRLUP}{LEFT 5}{ENTER 3}{DOWN 1}{ENTER 2}{RIGHT 1}{ENTER 1}{DOWN 1}{ENTER 2}{RIGHT 3}{ENTER 1}')
     ;Synthesis
      Sleep(32000)
   Next
  ; Finished!
   MsgBox(0, "Exit", "Finished!")
   opt('SendKeyDelay', 5); SendKeyDelay to default.
EndFunc  ;==>synth200

Need a website: http://www.iconixmarketing.com

Link to comment
Share on other sites

I think Sandro is correct... and

you have

opt('SendKeyDelay', 500); SendKeyDelay set to 500 ms
   For $loop = 1 To 11
      Sleep(500)
      Send('{CTRLDOWN}i{CTRLUP}{LEFT 5}{ENTER 3}{DOWN 1}{ENTER 2}{RIGHT 1}{ENTER 1}{DOWN 1}{ENTER 2}{RIGHT 3}{ENTER 1}')
;Synthesis
      Sleep(32000)
   Next

the option slows down the wait time, however you are sending everything in one line, thus the option is useless ( i think )

why not try this

opt('SendKeyDelay', 500); SendKeyDelay set to 500 ms
   For $loop = 1 To 11
      Sleep(500)
      Send('{CTRLDOWN}i{CTRLUP}
      Send('{LEFT 5}')
      Send('{ENTER 3}')
;----------------------  etc, etc
;Synthesis
      Sleep(32000)
   Next

8)

Edited by Valuater

NEWHeader1.png

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...