DivaneTR Posted July 4, 2011 Share Posted July 4, 2011 [quote name='korasoglu' date='07 February 2011 - 16:11 ' timestamp='1297084272' post='959088'] hocam diyelimki bir dvdlik arşiv hazırlayacak olsak bütün exe ler program klasöründe birbirine girecek bunlar ketegorilere ayrılarak aynı klasöre atılsa daha derli toplu olur. yani File.Run("AutoPlay\\Docs\\Programlar\\" .. tTablo[i] .. ".exe", "", "AutoPlay\\Docs\\Programlar", SW_SHOWNORMAL, true) değiştirme şansımız varmı acaba benim istedğim olmuyormukide cevap alamıyorum çünkü diğer yazdıklarıma hemen cevap geliyor. korasoglu boşuna uğraşma olmaz eyvallah [/quote] [b][center]İyi Güzel de Kardeşim, Yapacağın AIO'da Klasörle Pek Muhattap Olmayacağız. Yani Demem O Ki, Autorun Projende Güzel Bi Tarasım İle Kategorilere Ayırıp İstediğini Yapabilirsin. Bırak Docs Klasörü Karışık Olsun.[/center][/b] Quote Link to comment Share on other sites More sharing options...
Grameradam Posted July 22, 2011 Share Posted July 22, 2011 Kodlar için teşekkürler. Buradaki kodları kullanarak bir AIO projesi hazırlıyorum kendime. Bir sorum olacak: Checkbox'ları el ile seçtiğim zaman alt tarafta kaç tane program seçildiği yazıyor. (Örn: 5 adet program seçildi) ama "Önerilenleri seç" diye toplu halde seçim yaptıran bir checkbox ekliyorum projeye o zaman kaç tane seçildiğini yazmıyor? Neyi eksik yapıyorum? Quote Link to comment Share on other sites More sharing options...
KintaRo Posted July 23, 2011 Author Share Posted July 23, 2011 Önerilenlerde kaç tane checkbox seçtirdiyseniz onu nSayi değişkenine atamalısınız yani 5 program seçiliyosa [code]nSayi = 5;[/code] komutunu vermelisiniz. Quote Link to comment Share on other sites More sharing options...
sevcankonak Posted July 25, 2011 Share Posted July 25, 2011 ellerine saglık güzel bir çalışma Programlar Autoplay\Docs\programlar\ klasorü içinde Checkbox ile aynı isimde olmalıdır ve uzantısı EXE olmalıdır. yani Winamp adlı bir checkbox koyduysanız onun dosyası Autoplay\Docs\programlar\winamp.exe şeklinde olmalıdır. programlara nereden yol verecegiz kur butonunda kur() var tam aaçıklarmısınız Quote Link to comment Share on other sites More sharing options...
KintaRo Posted July 25, 2011 Author Share Posted July 25, 2011 programlara yol felan vermenize gerek yok. kur() dediğiniz zaman checkboxlarin isimlerinden dosyaları otomatik buluyor ve kuruyor Quote Link to comment Share on other sites More sharing options...
Grameradam Posted July 25, 2011 Share Posted July 25, 2011 Global Functions [codebox]function Uncheck() --Loop that unchecks all of them n=1 while n<=73 do CheckBox.SetChecked("CheckBox"..n, false); n=n+1 end end function CheckXP() --Uncheck all boxes Uncheck() --Check the correct boxes CheckBox.SetChecked("CheckBox1", true) CheckBox.SetChecked("CheckBox2", true) CheckBox.SetChecked("CheckBox3", true) CheckBox.SetChecked("CheckBox6", true) CheckBox.SetChecked("CheckBox7", true) CheckBox.SetChecked("CheckBox8", true) ... end function Check7() --Uncheck all boxes Uncheck() --Check the correct boxes CheckBox.SetChecked("CheckBox2", true) CheckBox.SetChecked("CheckBox3", true) CheckBox.SetChecked("CheckBox6", true) ... end [/codebox] Bu sayfada anlatılan kodlarla bir AIO projesi hazırlıyorum. "Global Functions" evresine yukarıdaki kodları ekleyerek. "Önerilenleri seç" adlı bir radiobutton oluşturdum. (Resim aşağıda) [u]Radiobutton'a tıkladığımda istediğim checkbox'ları seçiyor ama sayfanın altındaki " x adet program seçildi" bölümünde kaç program seçildiği görünmüyor[/u]. ve [u]"kur" butonuna tıkladığımda "hiç program seçmediniz diyor."[/u] Programları elle seçersem problem yok. Ama önerilenleri seç dediğimde bu sorun var.[b] Ayrıntılı bir şekilde[/b] anlatabilecek olan var mı? Kodlardan çok anlamıyorum. [img]http://www.tnctr.com/uploads/imgs/pre_1311593288__aio.jpg[/img] 2. sorum da şu: Yine bu sayfadaki kodlarla hazırlanmış bir projeye yukarıdaki resimde gördüğünüz gibi "kurulumdan sonra PC'yi kapat" ve "Kurulumdan sonra yeniden başlat" seçenekleri eklemek istiyorum. Bunun için hangi kodu nereye eklemem gerekir. Quote Link to comment Share on other sites More sharing options...
KintaRo Posted July 25, 2011 Author Share Posted July 25, 2011 [quote name='KintaRo' date='23 July 2011 - 10:03 ' timestamp='1311404587' post='1050355'] Önerilenlerde kaç tane checkbox seçtirdiyseniz onu nSayi değişkenine atamalısınız yani 5 program seçiliyosa [code]nSayi = 5;[/code] komutunu vermelisiniz. [/quote] yukarda 1. sorun için cevabını vermiştim. 2. sorun içinse daha çnce çok kez bunu anlattık, şimdi zamanım olmadığı için tekrar anlatamayacağım. Quote Link to comment Share on other sites More sharing options...
Grameradam Posted July 25, 2011 Share Posted July 25, 2011 İyi de o sayı değerini nereye gireceğiz? Yardım edecek birini bekliyorum Quote Link to comment Share on other sites More sharing options...
KintaRo Posted July 25, 2011 Author Share Posted July 25, 2011 nereyemi gireceksin? işlemi nerde yapiyosan ona tabiiki. radio button'un on click evresine Quote Link to comment Share on other sites More sharing options...
Grameradam Posted July 25, 2011 Share Posted July 25, 2011 [quote name='KintaRo' date='25 July 2011 - 14:08 ' timestamp='1311602918' post='1051602'] nereyemi gireceksin? işlemi nerde yapiyosan ona tabiiki. radio button'un on click evresine [/quote] Radiobutton'un on click evresine dediğin gibi kodu yazdım ama hala tıkladığımda seçilen program sayısı "0" görünüyor. "Önerilenleri seç" radiobuttonuna tıkladığımda checkboklar seçili olmasına rağmen kur butonuna bastığımda hiç program seçmediniz diyor. [code]nSayi = 5; CheckXP() [/code] Quote Link to comment Share on other sites More sharing options...
KintaRo Posted July 25, 2011 Author Share Posted July 25, 2011 evet şimdi farkettim o ozellik için açık kapı bırakmamışım, bugun yada yarın güncellerim. Quote Link to comment Share on other sites More sharing options...
Grameradam Posted July 25, 2011 Share Posted July 25, 2011 İlgilendiğin için teşekkür ederim. Özel mesajla bir apz dosyası göndermiştim. Kodları güncellersen o projeyi tamamlayıp forumda paylaşmak isterim. Pek çok kişi faydalanır böylece. Quote Link to comment Share on other sites More sharing options...
KintaRo Posted July 25, 2011 Author Share Posted July 25, 2011 ok ilk fırsatta bakacağım Quote Link to comment Share on other sites More sharing options...
sevcankonak Posted July 27, 2011 Share Posted July 27, 2011 Kintaro özür dilerim ama ben halen burdaki mantığı anlayamadım. elimde 20 adet program var 20 programıda docs/programlar klasörüne atsam hepsini nasıl tanıyacak programlara yol vermeden Quote Link to comment Share on other sites More sharing options...
KintaRo Posted July 27, 2011 Author Share Posted July 27, 2011 arkadaşım sen dediklerimi yap, tanımazsa ondan sonra gel Quote Link to comment Share on other sites More sharing options...
Grameradam Posted July 29, 2011 Share Posted July 29, 2011 (edited) Kintaro, yok mu bir gelişme? Edited July 29, 2011 by Grameradam Quote Link to comment Share on other sites More sharing options...
kamuran731 Posted September 13, 2011 Share Posted September 13, 2011 (edited) Ellerine sağlık çok güzel bir çalışma olmuş önerilen seçim için bir düzenleme yapmanı bekliyoruz iyi çalışmalar. checkBox un ismini IDMAN yaptım katılımsızın isminide IDMAN.EXE yaptım diyelim. seçip yülediğimde, ek olarak IDMAN ismili checkBox un on click evresine eklediğim kodlar çalışırmı ? Edited September 15, 2011 by kamuran731 Quote Link to comment Share on other sites More sharing options...
kamuran731 Posted October 14, 2011 Share Posted October 14, 2011 @Kintaro slm çok güzel bir çalışma olmuş ellerine sağlık. projeyi gelişrimeni bekliyoruz. umarım el atarsın. Quote Link to comment Share on other sites More sharing options...
NotToday Posted October 14, 2011 Share Posted October 14, 2011 [quote name='kamuran731' date='14 October 2011 - 21:44 ' timestamp='1318617885' post='1095030'] @Kintaro slm çok güzel bir çalışma olmuş ellerine sağlık. projeyi gelişrimeni bekliyoruz. umarım el atarsın. [/quote] Sadece bu örnek amaçlıdır.Geliştirmek size kalmış. Quote Link to comment Share on other sites More sharing options...
KintaRo Posted October 14, 2011 Author Share Posted October 14, 2011 Benden bu kadar gerisi size kalmış, takıldığınız yerlerde sorarsanız cevaplarız tabi ki. Quote Link to comment Share on other sites More sharing options...
kamuran731 Posted October 16, 2011 Share Posted October 16, 2011 @KintaRo önerilen seçim için nasıl bir kod veya fonksiyon ekleyebiliriz ? ayrıca 1 nci checxbox seçildiğinde ilgili programı yüklediğinde yüklemeyle birlikte aynı zamanda bir reg girdisi girmesini nasıl sağlayabiliriz ? Quote Link to comment Share on other sites More sharing options...
NotToday Posted October 16, 2011 Share Posted October 16, 2011 (edited) [code]CheckBox.SetChecked(checkboxismi, true)[/code] True yerine false yaparsan işareti kaldırır Reg kaydı girmek [code]Registry.SetValue(HKEY_CURRENT_USER, "Software\\Policies\\Microsoft\\Internet Explorer\\Control Panel", "HomePage", "0", REG_DWORD);[/code] Edited October 16, 2011 by ReaLyMaN Quote Link to comment Share on other sites More sharing options...
kamuran731 Posted October 16, 2011 Share Posted October 16, 2011 @ReaLyMaN verdiğin kodu bende biliyorum checxbox un işaretliyor false olsa işareti kaldırıyor. ama işleme listesine eklemiyor. yinede ilgin için teşekkür ederim Quote Link to comment Share on other sites More sharing options...
KintaRo Posted October 17, 2011 Author Share Posted October 17, 2011 denemedim ama önerilenler buttona seçilecek her checkbox için aşağıdaki kodu yazarsanız olması lazım: [quote]sec(CheckBox.GetProperties("CheckBox1").ObjectName,CheckBox.GetText("CheckBox1")) sec(CheckBox.GetProperties("CheckBox3").ObjectName,CheckBox.GetText("CheckBox3")) sec(CheckBox.GetProperties("CheckBox7").ObjectName,CheckBox.GetText("CheckBox7"))[/quote] Quote Link to comment Share on other sites More sharing options...
kamuran731 Posted October 17, 2011 Share Posted October 17, 2011 @KintaRo verdiğin kod olmadı her tıkladığımda -1 program seçildi uyarısı -2 -3 -4 diye devam etti 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.