Jump to content

[Autoplaymediastudio] Paragraph'a Text Yansıtma


injuste
 Share

Recommended Posts

[img]http://www.tnctr.com/uploads/imgs/pre_1334247972__soru.png[/img]

Beyler bu çalışmada gördüğünüz Paragraph objesinde linkini verdiğim .txt dosyasını yansıtmak istiyorum web ilede yapılabildiğini biliyorum fakat benim amacım farklı mesela "http://inj.us/te/deneme.txt" linkli bir .txt dosyası olsun güncelle butonuna bastığımda bu dosyayı yeniliyecek ve paragraph objesinde yansıtacak fakat tekrar hatırlatıyorum Web objesinde değil Paragraph objesinde :D . Bu arada proje dosyası falan yok olayın gelişmesine göre proje uygulayacağım.

Edited by injuste
Link to comment
Share on other sites

[codebox]HTTP.Download("http://inj.us/te/deneme.txt", _TempFolder .. "\\deneme.txt", MODE_TEXT, 20, 80, nil, nil, nil)
if File.DoesExist(_TempFolder .. "\\deneme.txt") then
local sText = TextFile.ReadToString(_TempFolder .. "\\deneme.txt")
Paragraph.SetText("Paragraph1", sText)
else
Dialog.Message("Hata", "Dosya indirilemedi")
end[/codebox]

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...