onestcoder Posted February 3, 2006 Share Posted February 3, 2006 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 More sharing options...
Sandro Alvares Posted February 3, 2006 Share Posted February 3, 2006 (edited) Send("{^i}") = incurrentSend("^i") = currentIs not need 1 -> {ENTER 1} ... use normal {ENTER} ... up 2 its neededTry Edited February 3, 2006 by Sandro Alvares Programmer PHP, ASP, CGI, Perl, Delphi, JScript, ......... :) Link to comment Share on other sites More sharing options...
Valuater Posted February 3, 2006 Share Posted February 3, 2006 (edited) 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 February 3, 2006 by Valuater Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now