Konohali Posted December 14, 2011 Share Posted December 14, 2011 checkbox eklemeyi öğrendim ama exe adlari bulamiyorum exe adlarini nasil yapacağım ? Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted December 14, 2011 Share Posted December 14, 2011 [b]Anlatmak İstediğiniz Şeyden Birşey Anlamak Ne Mümkün. Daha Açıklayıcı Olur Musunuz ?[/b] Quote Link to comment Share on other sites More sharing options...
Konohali Posted December 14, 2011 Author Share Posted December 14, 2011 yani şey ben bi winrar ekledim ama programin adini winrar.exe yapmak istiyorum bu mümkünmü yada checkboxa nasil program ekleyeceğim ? Quote Link to comment Share on other sites More sharing options...
NotToday Posted December 14, 2011 Share Posted December 14, 2011 örnek projelerdeki örneklere baksan mantığını anlarsın. Quote Link to comment Share on other sites More sharing options...
Konohali Posted December 14, 2011 Author Share Posted December 14, 2011 bulamadım ya. Quote Link to comment Share on other sites More sharing options...
NotToday Posted December 14, 2011 Share Posted December 14, 2011 CheckBox1 seçiliyse AutoPlay\\Programlar konumundaki Pro1.exe çalıştırır [quote]c1 = CheckBox.GetChecked("CheckBox1") if c1 then -- eğer 1. checkbox seçili ise File.Run("AutoPlay\\Programlar\\Pro1.exe", "", "AutoPlay\\Programlar", SW_SHOWNORMAL, true)-- buraya program kurulum kodu gelecek end[/quote] Quote Link to comment Share on other sites More sharing options...
Konohali Posted December 14, 2011 Author Share Posted December 14, 2011 bu kodları kuruluma başla scriptinemi yazcaz yoksa checkbox scriptininemi Quote Link to comment Share on other sites More sharing options...
NotToday Posted December 14, 2011 Share Posted December 14, 2011 Kur tuşuna yazarsan iyi olur sanki Quote Link to comment Share on other sites More sharing options...
pcusta_99 Posted December 14, 2011 Share Posted December 14, 2011 Benimde benzer bir sorunumu var mesela checkbox1 seçili olduğu zaman checkbox1.exe'yi çalıştıracak, checkbox2 seçili olduğu zaman checkbox2.exe'yi çalıştıracak. Aslında bu kodları tek tek yazsakta olur ama kısaltımı olamazmı mesela checkbox30'a kadar gitsin bu kodlar. Quote Link to comment Share on other sites More sharing options...
Konohali Posted December 14, 2011 Author Share Posted December 14, 2011 (edited) Kur Komutu: [quote]c1 = CheckBox.GetChecked("CheckBox1") if c1 then -- eğer 1. checkbox seçili ise File.Run("AutoPlay\\Programlar\\Pro1.exe", "", "AutoPlay\\Programlar", SW_SHOWNORMAL, true)-- buraya program kurulum kodu gelecek end[/quote] Hepsini Seç: [quote]CheckBox.SetChecked("CheckBox1",true); CheckBox.SetChecked("CheckBox2",true); CheckBox.SetChecked("CheckBox3",true); CheckBox.SetChecked("CheckBox4",true); CheckBox.SetChecked("CheckBox5",true); CheckBox.SetChecked("CheckBox6",true); CheckBox.SetChecked("CheckBox7",true); CheckBox.SetChecked("CheckBox8",true); CheckBox.SetChecked("CheckBox9",true); CheckBox.SetChecked("CheckBox10",true); CheckBox.SetChecked("CheckBox11",true); CheckBox.SetChecked("CheckBox12",true);[/quote] hepsini kaldirida yazsam ayni sadece false oluyor klasörü açtım exeyi attım kurmuyor. Edited December 14, 2011 by kralturk02 Quote Link to comment Share on other sites More sharing options...
NotToday Posted December 14, 2011 Share Posted December 14, 2011 (edited) @pcusta_99 Şunu denesen [quote]d= {}; c= {}; for i=1,30 do c[i] = CheckBox.GetChecked("CheckBox"..i) if c[i] then d[i]=File.Run("AutoPlay\\Programlar\\checkbox"..i..".exe", "", "AutoPlay\\Programlar", SW_SHOWNORMAL, true)-- buraya program kurulum kodu gelecek end end[/quote] Edited December 14, 2011 by ReaLyMaN Quote Link to comment Share on other sites More sharing options...
pcusta_99 Posted December 14, 2011 Share Posted December 14, 2011 [quote name='ReaLyMaN' date='14 December 2011 - 17:46 ' timestamp='1323877615' post='1129034'] @pcusta_99 Şunu denesen [/quote] Bu kur butonuna değil mi ? Birde buraya program kurulum kodu gelecek yazan yere birşey yazmayacağım değil mi ? Orası sadece açıklama sanırım. Quote Link to comment Share on other sites More sharing options...
NotToday Posted December 14, 2011 Share Posted December 14, 2011 Bu checkboc 1 den 30 kadar sıralı olarak seçili olup olmadığına bakar.Seçiliyse checkbox1exe vs. şeklinde açar.Kur butonuna yaz.(Checkbox1 seçiliyse checkbox1.exe, Checkbox2 seçiliyse checkbox2.exe şeklinde açar.) Evet buraya program kurulum kodu gelecek yazan yer açıklama.[color="#FF0000"]AutoPlay\Programlar[/color] konumuna yazılımları koymalısın.Buna dikkat et Quote Link to comment Share on other sites More sharing options...
MostWanted Posted December 14, 2011 Share Posted December 14, 2011 Çocuklar emin olun yazdığınız hiç bir şeyi anlamıyor şu anda.Çünkü bi anda heves etmiş ve hop diye dalmış olaya.Bi okusa konuları bi araştırsa kavrayacak da. Quote Link to comment Share on other sites More sharing options...
pcusta_99 Posted December 14, 2011 Share Posted December 14, 2011 [quote name='MostWanted' date='14 December 2011 - 21:30 ' timestamp='1323891039' post='1129216'] Çocuklar emin olun yazdığınız hiç bir şeyi anlamıyor şu anda.Çünkü bi anda heves etmiş ve hop diye dalmış olaya.Bi okusa konuları bi araştırsa kavrayacak da. [/quote] Beni kastediyorsanız hocam Realyman arkadaşım sayesinde gayet anladım. Quote Link to comment Share on other sites More sharing options...
MostWanted Posted December 14, 2011 Share Posted December 14, 2011 Konuyu açan arkadaşı kastediyodum. 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.