[size="3"][font="Comic Sans MS"][b]Seçilenleri KUR butonu On Click Evresi Kodlar:
c1 = CheckBox.GetChecked("CheckBox1")
c2 = CheckBox.GetChecked("CheckBox2")
c3 = CheckBox.GetChecked("CheckBox3")
c4 = CheckBox.GetChecked("CheckBox4")
c5 = CheckBox.GetChecked("CheckBox5")
c6 = CheckBox.GetChecked("CheckBox6")
c7 = CheckBox.GetChecked("CheckBox7")
c8 = CheckBox.GetChecked("CheckBox8")
c9 = CheckBox.GetChecked("CheckBox9")
c10 = CheckBox.GetChecked("CheckBox10")
-----------------------------------------------------------------------------------------------------------
nToplam = 0;
for i=1,54 do
if CheckBox.GetChecked("CheckBox" .. i) then
nToplam = nToplam+1
end
end
-----------------------------------------------------------------------------------------------------------
Progress.SetRange("Progress1", 0, nToplam)
Progress.SetCurrentPos("Progress1", 0)
------------------------------------------------------------------------------------------------------------
if c1 then
Paragraph.SetText("Paragraph1", "CheckBox1 kuruluyor...")
File.Run("AutoPlay\\Docs\\CheckBox1.exe", "", "", SW_SHOWNORMAL, true);
nPos = Progress.GetCurrentPos("Progress1")
Progress.SetCurrentPos("Progress1", nPos+1)
Paragraph.SetText("Paragraph2", "CheckBox1 kurulumu tamamlandı.")
end
if c2 then
Paragraph.SetText("Paragraph1", "CheckBox2 kuruluyor...")
File.Run("AutoPlay\\Docs\\CheckBox2.exe", "", "", SW_SHOWNORMAL, true);
nPos = Progress.GetCurrentPos("Progress1")
Progress.SetCurrentPos("Progress1", nPos+1)
Paragraph.SetText("Paragraph2", "CheckBox2 kurulumu tamamlandı.")
end
if c3 then
Paragraph.SetText("Paragraph1", "CheckBox3 kuruluyor...")
File.Run("AutoPlay\\Docs\\CheckBox3.exe", "", "", SW_SHOWNORMAL, true);
nPos = Progress.GetCurrentPos("Progress1")
Progress.SetCurrentPos("Progress1", nPos+1)
Paragraph.SetText("Paragraph2", "CheckBox3 Full kurulumu tamamlandı.")
end
if c4 then
Paragraph.SetText("Paragraph1", "CheckBox4 kuruluyor...")
File.Run("AutoPlay\\Docs\\CheckBox4.exe", "", "", SW_SHOWNORMAL, true);
nPos = Progress.GetCurrentPos("Progress1")
Progress.SetCurrentPos("Progress1", nPos+1)
Paragraph.SetText("Paragraph2", "CheckBox kurulumu tamamlandı.")
end
if c5 then
Paragraph.SetText("Paragraph1", "CheckBox5 kuruluyor...")
File.Run("AutoPlay\\Docs\\CheckBox5.exe", "", "", SW_SHOWNORMAL, true);
nPos = Progress.GetCurrentPos("Progress1")
Progress.SetCurrentPos("Progress1", nPos+1)
Paragraph.SetText("Paragraph2", "CheckBox5 kurulumu tamamlandı.")
end
if c6 then
Paragraph.SetText("Paragraph1", "CheckBox6 kuruluyor...")
File.Run("AutoPlay\\Docs\\CheckBox6.exe", "", "", SW_SHOWNORMAL, true);
nPos = Progress.GetCurrentPos("Progress1")
Progress.SetCurrentPos("Progress1", nPos+1)
Paragraph.SetText("Paragraph2", "CheckBox6 kurulumu tamamlandı.")
end
if c7 then
Paragraph.SetText("Paragraph1", "CheckBox7 kuruluyor...")
File.Run("AutoPlay\\Docs\\CheckBox7.exe", "", "", SW_SHOWNORMAL, true);
nPos = Progress.GetCurrentPos("Progress1")
Progress.SetCurrentPos("Progress1", nPos+1)
Paragraph.SetText("Paragraph2", "CheckBox7 kurulumu tamamlandı.")
end
if c8 then
Paragraph.SetText("Paragraph1", "CheckBox8 kuruluyor...")
File.Run("AutoPlay\\Docs\\CheckBox8.exe", "", "", SW_SHOWNORMAL, true);
nPos = Progress.GetCurrentPos("Progress1")
Progress.SetCurrentPos("Progress1", nPos+1)
Paragraph.SetText("Paragraph2", "CheckBox8 kurulumu tamamlandı.")
end
if c9 then
Paragraph.SetText("Paragraph1", "CheckBox9 kuruluyor...")
File.Run("AutoPlay\\Docs\\CheckBox9.exe", "", "", SW_SHOWNORMAL, true);
nPos = Progress.GetCurrentPos("Progress1")
Progress.SetCurrentPos("Progress1", nPos+1)
Paragraph.SetText("Paragraph2", "CheckBox9 kurulumu tamamlandı.")
end
if c10 then
Paragraph.SetText("Paragraph1", "CheckBox10 kuruluyor...")
File.Run("AutoPlay\\Docs\\CheckBox10.exe", "", "", SW_SHOWNORMAL, true);
nPos = Progress.GetCurrentPos("Progress1")
Progress.SetCurrentPos("Progress1", nPos+1)
Paragraph.SetText("Paragraph2", "CheckBox10 kurulumu tamamlandı.")
end
---------------------------------------------------------------------------------------------------------------------------------[/b][/font][size="3"][/size][/size]