brhmstn Posted April 11, 2009 Share Posted April 11, 2009 Knight Online oynuyorum ac tool güzel kombo yapıyor kod asagıda. ama tuslara dısarda basıyor oyuna gecince basmıyor. neden olabilir ? // This line is necessary to select the proper window SetActiveWindow XTuniX Call // This combo macro has been made by LaggingUdead // // Credits go to gambLex for the helping me get an // // idea of how it works, *Still in Testing Stages* // SetActiveWindow Knight Online Client Commanddelay 10 ObjVar 10 // Put first skill in first slot and // // second on second slot, etc... // // Note: This macro is for Warrior only // Procedure ComboItUP keydown r .4 sec keydown 1 .4 sec keydown r .4 sec keydown r .4 sec keydown 1 .4 sec keydown r .4 sec keydown r .4 sec keydown 1 .4 sec keydown r .4 sec keydown r .4 sec keydown 1 .4 sec keydown r .4 sec keydown r .4 sec keydown 1 .4 sec end while 1=1 call ComboItUP end Link to comment Share on other sites More sharing options...
*TOYGAR* Posted April 11, 2009 Share Posted April 11, 2009 set activate bölümü yanlış olabilir. while 1=1keydown r .4 seckeydown 1 .4 seckeydown r .4 seckeydown r .4 seckeydown 1 .4 seckeydown r .4 seckeydown r .4 seckeydown 1 .4 seckeydown r .4 seckeydown r .4 seckeydown 1 .4 seckeydown r .4 seckeydown r .4 seckeydown 1 .4 secend[/CODE] Şeklinde Bir dene Bakalım Link to comment Share on other sites More sharing options...
x-force Posted April 11, 2009 Share Posted April 11, 2009 SetActiveWindow XTuniX Call SetActiveWindow Knight Online Client 2 sefer pencere seçmişsin hangisinde iş yapacaksan onu seç. Bu konunun bu bölümle alakası ne onuda anlamadım Link to comment Share on other sites More sharing options...
*TOYGAR* Posted April 11, 2009 Share Posted April 11, 2009 Ben Pencere Seçtirmeden Yapıyorum Bunu. Link to comment Share on other sites More sharing options...
3yl3mci Posted April 11, 2009 Share Posted April 11, 2009 vb6 pencere üzerinde çalışmak için ne gerekli mesala SetActiveWindow Knight Online Client vb ise nedir_? onun da ayrı bir kodu vardır Çözemedim Link to comment Share on other sites More sharing options...
*TOYGAR* Posted April 11, 2009 Share Posted April 11, 2009 Visual de bunlar var bi bak istersen Private Type STARTUPINFOcb As LonglpReserved As StringlpDesktop As StringlpTitle As StringdwX As LongdwY As LongdwXSize As LongdwYSize As LongdwXCountChars As LongdwYCountChars As LongdwFillAttribute As LongdwFlags As LongwShowWindow As IntegercbReserved2 As IntegerlpReserved2 As LonghStdInput As LonghStdOutput As LonghStdError As LongEnd TypePrivate Type PROCESS_INFORMATIONhProcess As LonghThread As LongdwProcessID As LongdwThreadID As LongEnd TypePrivate Declare Function WaitForSingleObject Lib "kernel32" (ByVal hHandle As Long, ByVal dwMilliseconds As Long) As LongPrivate Declare Function CreateProcessA Lib "kernel32" (ByVal lpApplicationName As Long, ByVal lpCommandLine As String, ByVal lpProcessAttributes As Long, ByVal lpThreadAttributes As Long, ByVal bInheritHandles As Long, ByVal dwCreationFlags As Long, ByVal lpEnvironment As Long, ByVal lpCurrentDirectory As Long, lpStartupInfo As STARTUPINFO, lpProcessInformation As PROCESS_INFORMATION) As LongPrivate Declare Function CloseHandle Lib "kernel32" (ByVal hObject As Long) As LongPrivate Const NORMAL_PRIORITY_CLASS = &H20&Private Const INFINITE = -1&Public Sub ExecCmd(cmdline$)Dim proc As PROCESS_INFORMATIONDim start As STARTUPINFO start.cb = Len(start) ' Shell the Application: ret& = CreateProcessA(0&, cmdline$, 0&, 0&, 1&, NORMAL_PRIORITY_CLASS, 0&, 0&, start, proc) ' Wait for the shelled application to finish: ret& = WaitForSingleObject(proc.hProcess, INFINITE) ret& = CloseHandle(proc.hProcess)End Sub'-----------------------------------------------------Private Sub Command1_Click()Dim todayDim MyDatetoday = Now ' önce bugünü bir değişkende saklıyoruz.MyDate = #7/14/1999# 'programın çalışacağı tarihDate = MyDate ' Change system date.ExecCmd "notepad.exe" 'istenen programın çalışmasıMsgBox "Program sonlandırıldı.", vbExclamation, "Terminated!" 'program kapandıktan sonra mesaj çıkıyor.Date = today ' tarih eski zamanına alınıyor.End Sub[/CODE] Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.