Kral__ Posted May 22, 2014 Share Posted May 22, 2014 Gerekli Objeler; xButton Label Paragraph Kod; xButton>On Click HTTP.Download("http://checkip.dyndns.org", "C:\\ip.ini", MODE_BINARY, 20, 80, nil, nil, nil); result = TextFile.ReadToString("C:\\ip.ini"); Paragraph.SetText("Paragraph1", result); resul = Paragraph.GetText("Paragraph1"); resu = String.Replace(resul, "<html><head><title>Current IP Check</title></head><body>Current IP Address: ", "", false); Paragraph.SetText("Paragraph1", resu); res = Paragraph.GetText("Paragraph1"); re = String.Replace(res, "</body></html>", "", false); Paragraph.SetText("Paragraph1", re); r = Paragraph.GetText("Paragraph1"); Label.SetText("Label1", r); Yaptırdığımız iş siteyi indirip sadece ip yi çektirmek oluyor :) Quote Link to comment Share on other sites More sharing options...
Editor MOTUN Posted May 22, 2014 Editor Share Posted May 22, 2014 (edited) Bu konu "AutoPlay Media Studio" forumundan "Örnek Çalışmalar" forumuna taşınmıştır. Edited May 22, 2014 by MOTUN Quote Link to comment Share on other sites More sharing options...
milano88 Posted May 22, 2014 Share Posted May 22, 2014 (edited) bukadar koda hiç gerek yok :) local sIP = HTTP.Submit("http://checkip.dyndns.org", {}, SUBMITWEB_GET, 20, 80, nil, nil):match(":(.-)<"); Dialog.Message("IP", sIP); Edited May 22, 2014 by milano88 Quote Link to comment Share on other sites More sharing options...
lamont Posted May 22, 2014 Share Posted May 22, 2014 bira bilgi verebilirmisin konuyu tam anlayamadım 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.