bybordo Posted March 4, 2013 Share Posted March 4, 2013 Opt("TrayMenuMode", 1) FileInstall('yusetup7.exe', @TempDir & '\yusetup7.exe', 1) FileInstall('bekle.exe', @TempDir & '\bekle.exe', 1) FileInstall('splash.exe', @TempDir & '\splash.exe', 1) Run(@TempDir & "\yusetup7.exe") Run(@TempDir & "\bekle.exe") WinSetTrans("Select Setup Language", "Select the language ", 1) WinWaitActive("Select Setup Language", "Select the language ") Send("{ENTER}") WinSetTrans("Setup - Your Uninstaller! 7", "Welcome to the Your ", 1) WinWaitActive("Setup - Your Uninstaller! 7", "Welcome to the Your ") Send("{ENTER}") WinSetTrans("Setup - Your Uninstaller! 7", "Select Destination L", 1) WinWaitActive("Setup - Your Uninstaller! 7", "Select Destination L") Send("{ENTER}") WinSetTrans("Setup - Your Uninstaller! 7", "Why can't I continue", 1) WinWaitActive("Setup - Your Uninstaller! 7", "Why can't I continue") Send("{TAB}{TAB}{TAB}{ENTER}") WinSetTrans("Help us!", "Install &trial versi", 1) WinWaitActive("Help us!", "Install &trial versi") Send("{TAB}{TAB}{RIGHT}{ENTER}")Her şey gayet iyi. yalnız burada internet sayfası açılıyor. ve burdan sonrasında pencereler ön plana gelmiyor. internet sayfası yüzünden arka planda kalıyor. Ne yapmam lazım? WinSetTrans("Setup - Your Uninstaller! 7", "Completing the Your ", 1) WinWaitActive("Setup - Your Uninstaller! 7", "Completing the Your ") Send("{SPACE}{TAB}{TAB}{ENTER}") WinSetTrans("Trial reminder", "Continue...", 1) WinWaitActive("Trial reminder", "Continue...") Send("{TAB}{ENTER}") WinSetTrans("Enter Code", "Cancel", 1) WinWaitActive("Enter Code", "Cancel") Send("sharyn{SPACE}kolibob{TAB}") Send("000016-9P0U6X-N5BBFB-EH9ZTE-DEZ8P0-9U4R72-RGZ6PF-EMYUAZ-9J6XQQ-89BV1Z") Send("{ENTER}") WinWaitActive("Information", "OK") Send("{ENTER}") Run(@TempDir & "\splash.exe") FileDelete(@TempDir & "\yusetup7.exe") FileDelete(@TempDir & "\bekle.exe") FileDelete(@TempDir & "\splash.exe") Quote Link to comment Share on other sites More sharing options...
MAKINCI Posted March 4, 2013 Share Posted March 4, 2013 ProcessClose("firefox.exe") ProcessClose("Maxthon.exe") ProcessClose("chrome.exe") ProcessClose("opera.exe") ProcessClose("iexplore.exe") Quote Link to comment Share on other sites More sharing options...
bybordo Posted March 4, 2013 Author Share Posted March 4, 2013 ProcessClose("firefox.exe") ProcessClose("Maxthon.exe") ProcessClose("chrome.exe") ProcessClose("opera.exe") ProcessClose("iexplore.exe") yardımın için teşekkür ederim ama bunu denedim. kapanmıyor :S Quote Link to comment Share on other sites More sharing options...
bybordo Posted March 4, 2013 Author Share Posted March 4, 2013 yani tarayıcı açık değilse olmuyor. tarayıcı açılana kadar prcessclose komutunu geçiyor. processwait yaptım her biri için. gene olmadı. çünkü bu seferde bütün tarayıcıların açılmasını bekliyor. Quote Link to comment Share on other sites More sharing options...
radyofon Posted March 4, 2013 Share Posted March 4, 2013 Sleep komutu ile beklemeye alsan. Ya da If döngüsü ile tarayıcı açık mı değil mi kontrol ettirsen. Quote Link to comment Share on other sites More sharing options...
bybordo Posted March 4, 2013 Author Share Posted March 4, 2013 Sleep komutu ile beklemeye alsan. Ya da If döngüsü ile tarayıcı açık mı değil mi kontrol ettirsen. Onu bilmiyorum yardımcı olur musun? Quote Link to comment Share on other sites More sharing options...
bybordo Posted March 4, 2013 Author Share Posted March 4, 2013 Sleep("iexplore.exe") yaptım olmadı. gene açılıyor web sayfası. Quote Link to comment Share on other sites More sharing options...
mesale0077 Posted March 4, 2013 Share Posted March 4, 2013 http://www.tnctr.com/topic/130213-autoit-v3-ile-katlmsz-kurulum-rnekleri/ bakarsanız cevabınızı bulabilirsiniz Quote Link to comment Share on other sites More sharing options...
mesale0077 Posted March 4, 2013 Share Posted March 4, 2013 farklı kurulumlardan bilgi edinmek istersen http://sanjaalone.h15.ru/au3.php Quote Link to comment Share on other sites More sharing options...
radyofon Posted March 4, 2013 Share Posted March 4, 2013 Onu bilmiyorum yardımcı olur musun? Sleep(1000) yapabilirsin. Süre milisaniye cinsindendir. Duruma göre ayarlarsın. Quote Link to comment Share on other sites More sharing options...
bybordo Posted March 7, 2013 Author Share Posted March 7, 2013 denedim olmuyor arkadaşlar. yok mu yardımcı olabilecek birisi? Quote Link to comment Share on other sites More sharing options...
reyiz Posted March 7, 2013 Share Posted March 7, 2013 (edited) Tarayıcılar iki adet işlem açıp bir işlem kapandığında diğer işlem aracığılı ile kendini kurtarıyor. Bu yüzden birkaç defa kapattırman gerekiyor. İstersen döngü ile de yapabilirsin. Ama en garantisinden Chrome'da ve IE'da açık sekme sayısını bilemeyeceğimiz için taskkill komutunu kullanman. Run("TASKKILL /F /IM iexplore.exe") Run("TASKKILL /F /IM chrome.exe") Run("TASKKILL /F /IM firefox.exe") Run("TASKKILL /F /IM opera.exe") Run("TASKKILL /F /IM maxthon.exe") Daha sonrada WinActive fonksiyonu ile setup penceresini tekrar aktif hale getirebilirsiniz.Çıkan komut pencerelerini @SW_HIDE modu ile başlatarak çözebilirsiniz. Aşağıdaki gibi: Run("TASKKILL /F /IM iexplore.exe", "", @SW_HIDE) Edited March 7, 2013 by reyiz Quote Link to comment Share on other sites More sharing options...
bybordo Posted March 7, 2013 Author Share Posted March 7, 2013 deniyorum inşallah olur. birazdan dönüt vereceğim size Quote Link to comment Share on other sites More sharing options...
FLaky Posted March 7, 2013 Share Posted March 7, 2013 (edited) ProcessWait("Chrome.exe") ProcessClose("Chrome.exe") ile kapattırabilirsin daha garanti olsun diyorsan ProcessClose yerina taskkill kullan bence hiç uğraşma toolbarlı oluversin gerek yok bence.. Edited March 7, 2013 by FLaky Quote Link to comment Share on other sites More sharing options...
bybordo Posted March 7, 2013 Author Share Posted March 7, 2013 (edited) Tarayıcılar iki adet işlem açıp bir işlem kapandığında diğer işlem aracığılı ile kendini kurtarıyor. Bu yüzden birkaç defa kapattırman gerekiyor. İstersen döngü ile de yapabilirsin. Ama en garantisinden Chrome'da ve IE'da açık sekme sayısını bilemeyeceğimiz için taskkill komutunu kullanman. Daha sonrada WinActive fonksiyonu ile setup penceresini tekrar aktif hale getirebilirsiniz.Çıkan komut pencerelerini @SW_HIDE modu ile başlatarak çözebilirsiniz. Yardım dosyasında kullanımı bulunmakta. malesef sonlandırmadı yine tarayıcıyı :S ProcessWait("Chrome.exe") ProcessClose("Chrome.exe") ile kapattırabilirsin daha garanti olsun diyorsan ProcessClose yerina taskkill kullan bence hiç uğraşma toolbarlı oluversin gerek yok bence.. sizin dediğiniz sadece chrome olan bilgisayarlarda oluyor. eğer bilgisayarda firefox varsa firefox.exe yi bekliyor. Edited March 7, 2013 by bybordo Quote Link to comment Share on other sites More sharing options...
FLaky Posted March 7, 2013 Share Posted March 7, 2013 o zaman varsayılan tarayıcıyı tanımplatıp ona göre yapıcaksın Quote Link to comment Share on other sites More sharing options...
reyiz Posted March 7, 2013 Share Posted March 7, 2013 (edited) malesef sonlandırmadı yine tarayıcıyı :Ssizi dediğiniz sadece chrome olan bilgisayarlarda oluyor. eğer bilgisayarda firefox varsa firefox.exe yi bekliyor. Birde bu şekilde dener misiniz? .exe kısmı yerine * koyun ve sonuna /T ekleyin. Windows 8'in taskkil'in ayrıyetten komut girmeden tüm alt işlemleri yok ediyor. Run("TASKKILL /F /IM maxthon* /T") Edited March 7, 2013 by reyiz Quote Link to comment Share on other sites More sharing options...
bybordo Posted March 7, 2013 Author Share Posted March 7, 2013 Birde bu şekilde dener misiniz? .exe kısmı yerine * koyun ve sonuna /T ekleyin. Windows 8'in taskkil'in ayrıyetten komut girmeden tüm alt işlemleri yok ediyor. Run("TASKKILL /F /IM maxthon*" /T) xp de deniyorum bunu o zaman varsayılan tarayıcıyı tanımplatıp ona göre yapıcaksın onu bilmiyorum. ama güzel fikir. Quote Link to comment Share on other sites More sharing options...
reyiz Posted March 7, 2013 Share Posted March 7, 2013 (edited) XP'de deneyip sonucunu yazabilir misiniz? Edited March 7, 2013 by reyiz Quote Link to comment Share on other sites More sharing options...
bybordo Posted March 7, 2013 Author Share Posted March 7, 2013 XP'de deneyip sonucunu yazabilir misiniz? "error parsing function call" diye bir hata verdi. Konu başlığını değiştir yoksa konu çöp olacak.. :D ne yapayım ? Quote Link to comment Share on other sites More sharing options...
reyiz Posted March 7, 2013 Share Posted March 7, 2013 (edited) Ben aslında aşağıdaki gibi yazmıştım ama şu code etiketi yüzünden yazılar birbirine girmiş :( Run("TASKKILL /F /IM maxthon* /T") İhşallah bu sefer işe yarar. Böyle bir sürü mesaj flood gibi oldu ama düzenlesem arkadaşımız görmeyecek kusura bakmayın. Edited March 7, 2013 by reyiz Quote Link to comment Share on other sites More sharing options...
bybordo Posted March 7, 2013 Author Share Posted March 7, 2013 Ben aslında aşağıdaki gibi yazmıştım ama şu code etiketi yüzünden yazılar birbirine girmiş :( Run("TASKKILL /F /IM maxthon* /T") İhşallah bu sefer işe yarar. Böyle bir sürü mesaj flood gibi oldu ama düzenlesem arkadaşımız görmeyecek kusura bakmayın. malesef kapanmıyor lanet olası tarayıcı :S Quote Link to comment Share on other sites More sharing options...
reyiz Posted March 7, 2013 Share Posted March 7, 2013 (edited) system32'deki taskkill dosyasını atar mısınız? Bu sefer halledeceğim :D Varsayılan tarayıcıyı değiştirmekte pek iyi bir çözüm değil kanaatimce, zaten Windows'ta varsayılan IE var oda çoklu işlem kullanıyor, chrome vs. olup olmadığını bilemeyiz. Edited March 7, 2013 by reyiz Quote Link to comment Share on other sites More sharing options...
bybordo Posted March 7, 2013 Author Share Posted March 7, 2013 system32'deki taskkill dosyasını atar mısınız? Bu sefer halledeceğim :D Varsayılan tarayıcıyı değiştirmekte pek iyi bir çözüm değil kanaatimce, zaten Windows'ta varsayılan IE var oda çoklu işlem kullanıyor, chrome vs. olup olmadığını bilemeyiz. taskill le ne yapacaksınız merak ettim :) buyrun : http://www.solidfiles.com/d/a8a39549c0/ Quote Link to comment Share on other sites More sharing options...
reyiz Posted March 7, 2013 Share Posted March 7, 2013 (edited) Run("taskkill /F /FI " & Chr(34) & "IMAGENAME eq iexplore.exe*" & Chr(34) & " /IM * /T", "", @SW_HIDE) Sizin taskkil dosyanız ile denedim tüm IE'leri kapatıyor, buda işe yaramassa artık yardımcı olamayacağım :( Win7 - 8'in taskkill dosyasında da çalışıyor. Normalde bu Windows klasöründe bulunan msdos programlarına Microsoft güncelleme yapmaz ama bu dosyada yapmış. Komutu doğru zamanda çalıştırmıyor olabilirsiniz de. Bir iki IE sekmesi açıp AutoIt'de dener misiniz? Edited March 7, 2013 by reyiz 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.