help me please
For example :
my desktop have mustafa.txt ( and ı open mustafa.txt ı saw for example bla bla bla )
-- Code
UserText = Input.GetText("UserText");
SaveTo = Dialog.FileBrowse(false, "Save to:", _DesktopFolder, "Text files (*.txt)|*.txt|", "", "txt", false, false);
DoesExist = File.DoesExist(SaveTo[1]);
if DoesExist then
Replace = Dialog.Message("Warning", "File " .. SaveTo[1] .. " already exist. Do you want to replace the file?", MB_YESNO, MB_ICONEXCLAMATION, MB_DEFBUTTON1);
if Replace == IDYES then
TextFile.WriteFromString(SaveTo[1], UserText, false);
else
Dialog.Message("Warning", "File not saved.", MB_OK, MB_ICONSTOP, MB_DEFBUTTON1);
end
else
TextFile.WriteFromString(SaveTo[1], UserText, false);
end
-- End
Result :
ım write input (input name = UserText ) " mustafa " and then save to mustafa.txt on desktop but ı click open mustafa.txt ı saw mustafa where bla bla bla ? ı want if ı save mustafa.txt bla bla and ı saw mustafa.
I cant speak english very well , ty![]()

Reply With Quote
