Arama sonuçlarınız

  1. Falcon

    Güncel Döngü ile Kontrol Ederek Aynı Olan Değerleri Silme

    local listBoxName = "ListBox1" local count = ListBox.GetItemCount(listBoxName) for i = count - 1, 0, -1 do local item = ListBox.GetItemText(listBoxName, i) for j = i - 1, 0, -1 do if ListBox.GetItemText(listBoxName, j) == item then...
  2. Falcon

    Güncel Lua ile Tekrar Eden Öğeleri Kaldırma

    -- ListBox nesnesinin adı local listBoxName = "ListBox1" -- Tüm öğeleri bir tabloya alalım local items = {} local count = ListBox.GetItemCount(listBoxName) for i = 0, count - 1 do local item = ListBox.GetItemText(listBoxName, i) items[item] = true -- Aynı öğeyi tekrar eklememek için...
  3. Falcon

    Güncel Çalışan Process Kontrolü ile Bilgi Çekme

    local processes = System.EnumerateProcesses() for i, process in pairs(processes) do if String.Find(process, "AutoPlay.exe", 1, false) > 0 then Dialog.Message("Bilgi", "AutoPlay Media Studio çalışıyor!", MB_OK, MB_ICONINFORMATION) break end end
  4. Falcon

    Güncel Dosya veya Dizin Kontrolleri ile Bilgi Çekme

    local path = "C:\\Program Files (x86)\\AutoPlay Media Studio 8\\AutoPlay.exe" if File.DoesExist(path) then Dialog.Message("Bilgi", "AutoPlay Media Studio bu dizinde kurulu: " .. path, MB_OK, MB_ICONINFORMATION) else Dialog.Message("Bilgi", "Kurulu değil veya farklı bir dizinde...
  5. Falcon

    Güncel Kayıt Defterinden (Registry) Bilgi Çekme

    local key = "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\AutoPlay Media Studio" local installPath = Registry.GetValue(key, "InstallLocation", true) if installPath then Dialog.Message("Bilgi", "Kurulum Yolu: " .. installPath, MB_OK, MB_ICONINFORMATION) else...
  6. Falcon

    Güncel Özel Karakterleri Temizleme

    function RemoveSpecialChars(str) return string.gsub(str, "[^%w%s]", "") end original = "Merhaba! Bugün nasılsın? @2025" cleaned = RemoveSpecialChars(original) Dialog.Message("Sonuç", cleaned) -- Çıktı: "Merhaba Bugün nasılsın 2025"
  7. Falcon

    Güncel Metindeki Rakamları Bulma

    text = "Bugün 27 Mart 2025, saat 14:30." pattern = "%d+" for num in string.gmatch(text, pattern) do Dialog.Message("Bulunan Rakam", num) end
  8. Falcon

    Güncel String İçinde Belirli Kelimeleri Bulma

    text = "Bu bir test mesajıdır. İçinde test kelimesi geçiyor." pattern = "test" for match in string.gmatch(text, pattern) do Dialog.Message("Bulunan", match) end
  9. Falcon

    Güncel Telefon Numarası Doğrulama (Türkiye Formatı)

    function IsValidPhone(phone) local pattern = "^%+90 ?5%d%d ?%d%d%d ?%d%d ?%d%d$" return string.match(phone, pattern) ~= nil end phone = "+90 532 123 45 67" if IsValidPhone(phone) then Dialog.Message("Bilgi", "Geçerli telefon numarası!") else Dialog.Message("Bilgi", "Geçersiz...
  10. Falcon

    Güncel Basit Regex Kullanımı (Email Kontrolü)

    function IsValidEmail(email) local pattern = "^[A-Za-z0-9%.]+@[A-Za-z0-9%.]+%.[A-Za-z]+$" return string.match(email, pattern) ~= nil end email = "test@example.com" if IsValidEmail(email) then Dialog.Message("Bilgi", "Geçerli bir e-posta adresi!") else Dialog.Message("Bilgi"...
  11. Falcon

    Güncel Klavyeden Tuşa Basılınca İşlem Yapma

    <input type="text" id="input" onkeypress="tusaBasildi(event)" placeholder="Bir şey yaz..."> <p id="sonuc"></p> <script> function tusaBasildi(event) { document.getElementById("sonuc").innerHTML = "Basılan tuş: " + event.key; } </script>
  12. Falcon

    Güncel Rastgele Sayı Üretme (1-100 Arası)

    let rastgeleSayi = Math.floor(Math.random() * 100) + 1; console.log("Rastgele sayı: " + rastgeleSayi);
  13. Falcon

    Güncel Kullanıcıdan Bilgi Alma (Prompt)

    let isim = prompt("Adınızı girin:"); alert("Merhaba, " + isim + "!");
  14. Falcon

    Güncel Butona Tıklanınca Metni Değiştirme

    <button onclick="degistir()">Tıkla</button> <p id="metin">Bu bir örnek metindir.</p> <script> function degistir() { document.getElementById("metin").innerHTML = "Metin değiştirildi!"; } </script>
  15. Falcon

    Güncel FTP ile Dosya İndirme

    ftp_host = "ftp.example.com" ftp_kullanici = "kullanici_adin" ftp_sifre = "sifren" uzak_dosya = "/dosyalar/dosya.zip" yerel_dosya = _DesktopFolder .. "\\dosya.zip" sonuc = FTP.Download(ftp_host, ftp_kullanici, ftp_sifre, uzak_dosya, yerel_dosya, MODE_BINARY, nil, nil) if sonuc == 1 then...
  16. Falcon

    Güncel cURL ile Dosya İndirme

    url = "https://example.com/dosya.zip" hedef_dosya = _DesktopFolder .. "\\dosya.zip" command = 'curl -o "' .. hedef_dosya .. '" "' .. url .. '"' System.Execute(command) if File.Exists(hedef_dosya) then Dialog.Message("Başarılı", "Dosya başarıyla indirildi!", MB_OK, MB_ICONINFORMATION) else...
  17. Falcon

    Güncel HTTP.Download ile Dosya İndirme

    url = "https://example.com/dosya.zip" -- İndirilecek dosyanın URL'si hedef_dosya = _DesktopFolder .. "\\dosya.zip" -- Masaüstüne kaydet sonuc = HTTP.Download(url, hedef_dosya, MODE_BINARY, nil, nil, nil, nil) if sonuc == 1 then Dialog.Message("Başarılı", "Dosya başarıyla indirildi!"...
  18. Falcon

    Güncel Basit HTTP GET İsteği ile Veri Çekme

    url = "https://example.com" -- Veri çekmek istediğin site response = HTTP.Request(url, "GET", "", "", 80, 30, nil, nil) if response then Dialog.Message("Başarılı", "Site içeriği:\n" .. response, MB_OK, MB_ICONINFORMATION) else Dialog.Message("Hata", "Bağlantı kurulamadı!", MB_OK...
  19. Falcon

    Güncel JSON API'den Veri Çekme

    url = "https://api.example.com/data" -- Örnek API adresi response = HTTP.Request(url, "GET", "", "", 80, 30, nil, nil) if response then jsonData = JSON.Decode(response) -- JSON verisini çözümler Dialog.Message("API Verisi", "Gelen veri:\n" .. Table.ToString(jsonData), MB_OK...
  20. Falcon

    Güncel Bir Formdan Veri Çekme (POST İsteği)

    url = "https://example.com/login" postData = "username=admin&password=123456" response = HTTP.Request(url, "POST", postData, "application/x-www-form-urlencoded", 80, 30, nil, nil) if response then Dialog.Message("Başarılı", "Yanıt:\n" .. response, MB_OK, MB_ICONINFORMATION) else...
Geri
Üst