TheDessL Posted March 16, 2012 Share Posted March 16, 2012 (edited) [color="#000000"][color="#000080"][size="5"]aio dersleri koleksiyonda bu konuyu izledim kodlarımı yazdım ama her zaman bu hatayı alıyorum :[/size][/color][/color] [img]http://g1203.hizliresim.com/v/j/3l6hk.jpg[/img] [color="#8B0000"][color="#8B0000"][size="6"]Kullandığım Kodlar :[/size][/color][/color] [code]dessl = 0; kapat = "IDman.exe" islem = System.EnumerateProcesses(); for eto, file_path in islem do file = String.SplitPath(file_path); if (String.Lower(file.Filename..file.Extension))== kapat then Isrunning = true uyar = Dialog.Message("Uyarı", "Kayıt İşleminin Gerçekleşmesi İçin IDman'ın Kapatılması Gerekiyor.", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1); if uyar == 6 then System.TerminateProcess(eto); else Dialog.Message("Hata", "IDman Kapatılmadı Lütfen Tekrar Deneyin.", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1); break end else Isrunning = false end end if not Isrunning then File.Run("AutoPlay\\Docs\\Crack.exe", "", _SystemFolder, SW_HIDE, false) end[/code] [size="5"]Hata Verdiği Satır :[/size] [code]for eto, file_path in islem do[/code] Edited March 16, 2012 by TheDessL Quote Link to comment Share on other sites More sharing options...
radyofon Posted March 16, 2012 Share Posted March 16, 2012 File.Name File.Extension yazan yerlere dosya adlarını uzantıları filan yazman gerekir. Quote Link to comment Share on other sites More sharing options...
nightmare3519 Posted March 16, 2012 Share Posted March 16, 2012 Bende boyle birsey yapmistim jazir proje var fakat bilgisayar yasak :S bi tane mozilla eklenti durdurmali bi proje vardi bir satir kodla kapatiyordu sende ona bir bak derim Quote Link to comment Share on other sites More sharing options...
milano88 Posted March 16, 2012 Share Posted March 16, 2012 for eto, file_path in islem do değil [b]for eto, file_path in pairs (islem) do[/b] olacak Quote Link to comment Share on other sites More sharing options...
nightmare3519 Posted March 17, 2012 Share Posted March 17, 2012 Mehmet abi benim su listiconlu konuya baksan bide Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.