djonur007 Posted January 1, 2010 Share Posted January 1, 2010 Merhaba arkadaşlar az önce autoitte çalışıyordum. aşağıdaki kodları yazdım(birazı forumda verilmişti). şimdi aşağıdaki kod katılımsız programı kendi hafızasına alıyor .exe haline getiriyor ve bu programı yüklüyor. ne farkı var diyeceksiniz. bununla yapılan katılımsızlarda winrar tuşları gözükmüyor. ama sorum şu: şimdi program yüklenirken "TRAYTIP" fonksiyonu program tamamen yüklendikten sonra kapanmasını istiyorum. nasıl yaparım? benim yaptığımda 20 saniye kalıyor sonra gidiyor. ama tüm kurulum sırasınca kalmalı nasıl yaparım? Kodlar: FileInstall("E:\Yeni Klasör\Counter-Strike.exe",@TempDir & "\$$.tmp")FileMove ( @TempDir & "\$$.tmp",@TempDir & "\temp.exe" ,1 ) RunWait(@TempDir & "\temp.exe") TrayTip("", "Program Bilgisayarınıza Kurulurken Lütfen Bekleyiniz...", 5) Sleep(20000) FileDelete(@TempDir & "\temp.exe") en son Counter-Strike'ı katılımsız yapmıştım. 2010 versiyonu Link to comment Share on other sites More sharing options...
MostWanted Posted January 1, 2010 Share Posted January 1, 2010 FileInstall("E:\Yeni Klasör\Counter-Strike.exe",@TempDir & "\$$.tmp")FileMove ( @TempDir & "\$$.tmp",@TempDir & "\temp.exe" ,1 )RunWait(@TempDir & "\temp.exe")TrayTip("", "Program Bilgisayarınıza Kurulurken Lütfen Bekleyiniz...", 5)FileDelete(@TempDir & "\temp.exe")TrayTip("", "", 5)[/CODE] Sondaki " TrayTip("", "", 5) " kodunu TrayTip'i kapatmak için kullanabilirsin.. Link to comment Share on other sites More sharing options...
blackman12 Posted January 2, 2010 Share Posted January 2, 2010 FileInstall("E:\Yeni Klasör\Counter-Strike.exe",@TempDir & "\$$.tmp") FileMove ( @TempDir & "\$$.tmp",@TempDir & "\temp.exe" ,1 ) RunWait(@TempDir & "\temp.exe") _kontrol() func _kontrol() if processexists("temp.exe") then TrayTip("", "Program Bilgisayarınıza Kurulurken Lütfen Bekleyiniz...", 5) _kontrol() else FileDelete(@TempDir & "\temp.exe") Adlibdisable() Exit endif endfunc Link to comment Share on other sites More sharing options...
djonur007 Posted January 2, 2010 Author Share Posted January 2, 2010 ilginiz için teşekkürler arkadaşlar. çok sağolun. Link to comment Share on other sites More sharing options...
casira Posted June 10, 2010 Share Posted June 10, 2010 Bir sorum olacak.Traytipi nasıl kilitleriz yani sistem tepsisisndeki simge üzerine sağ tıklayınca script paused diyor ya biz tıklanmamasını nasıl sağlarız.Yani tıklansa bile script paused çıkmayacak.Yani mesela 5 sn boyunca belirlediğimiz bir yazı çıkacak traytipte ama üstüne tıklanmayacak müdahale edilemeyecek.5 sn sonra kapancak. Link to comment Share on other sites More sharing options...
MostWanted Posted June 12, 2010 Share Posted June 12, 2010 Opt("TrayAutoPause", 0) komutunu scriptinin başlarındaki bi satıra ekle gitsin.. Link to comment Share on other sites More sharing options...
casira Posted June 12, 2010 Share Posted June 12, 2010 Talha teşekkür cevabın için ancak ben help dosyasını inceledim şöyle bir örnek yaptım. Opt("TrayMenuMode",1) veya Opt("TrayMenuMode",3) bu ikisini deneyerek çözüme ulaştım.Bu şekilde yapınca scripte sağ tıklasak bile script paused ve exit seçeneği çıkmıyor. Link to comment Share on other sites More sharing options...
MostWanted Posted June 12, 2010 Share Posted June 12, 2010 Öneri benden çözüm senden Bnm yaptığım sadece tıkladığında pause olmasını engeller senin yaptığın otomatik olarak koyulan tray menüleri kaldırır Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.