Amilo Posted May 17, 2012 Share Posted May 17, 2012 Auto İt İle Not Defterine Yazı Yazdırdıktan Sonra Nasıl Kaydettirebilirim Quote Link to comment Share on other sites More sharing options...
Mehmet Posted May 17, 2012 Share Posted May 17, 2012 [codebox]$file = FileOpen("deneme.txt", 1) If $file = -1 Then MsgBox(0, "Hata", "Dosya açılamıyor.!") Exit EndIf FileWriteLine($file, "1.satır") FileWriteLine($file, "2.satır" & @CRLF) FileWriteLine($file, "3.satır" & @CRLF) FileWriteLine($file, "4.satır" & @CRLF) FileClose($file) [/codebox] Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted May 17, 2012 Share Posted May 17, 2012 Şöyle bir örnek hazırladım, tabi hangi yolla yazı yazdırtıyorsun bilmiyorum, kendine göre düzeltirsin ; [codebox] #Include <File.au3> $Title = "Adsız - Not Defteri" Run("notepad.exe") WinWaitActive($Title) ControlSetText($Title,"","Edit1", "Divane") _FileCreate(@DesktopDir & "\deneme.txt") $Text = ControlGetText($Title,"","Edit1") FileWrite(@DesktopDir & "\deneme.txt", $Text) [/codebox] Quote Link to comment Share on other sites More sharing options...
MostWanted Posted May 18, 2012 Share Posted May 18, 2012 @mehmetben writeline zaten sonuna @crlf koyar onlar gereksiz olmuş. @baba_ arkadaş olayı tam bilmediği için öyle sormuş yazı kaydetmenin diğer şekli de budur, yolun yanlış değil fakat doğrusu @mehmetben'in yaptığı gibidir. Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted May 18, 2012 Share Posted May 18, 2012 (edited) [member=MostWanted] [font="Lucida Console"]ya arkadaş tersini söylemiş, ya da ben tersini anlamışım [/font] Edited May 18, 2012 by Baba_ 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.