freeman7 Posted February 27, 2007 Share Posted February 27, 2007 (edited) Hello! I have problems with creating code for file saving. File is created, but notepad's text is not written in. Saved file.txt includes only numbers 64. Should I use some array or something? Notepad.au3 Edited February 27, 2007 by freeman7 -------------------------------------------------------People keeping order at their stuff are just too lazy to search anything...Test these:Easy-to-use notepad Link to comment Share on other sites More sharing options...
MHz Posted February 27, 2007 Share Posted February 27, 2007 Use GuiCtrlRead to read the text from the edit control. FileWrite($Filesave, GUICtrlRead($editor)) Link to comment Share on other sites More sharing options...
freeman7 Posted February 27, 2007 Author Share Posted February 27, 2007 (edited) Use GuiCtrlRead to read the text from the edit control.Thanks!(Feeling shame for not seeing that before... )I fixed the code a little bit more...Notepad.au3 Edited February 27, 2007 by freeman7 -------------------------------------------------------People keeping order at their stuff are just too lazy to search anything...Test these:Easy-to-use notepad Link to comment Share on other sites More sharing options...
freeman7 Posted February 27, 2007 Author Share Posted February 27, 2007 (edited) Newest version attached....Skins.zip Edited March 20, 2007 by freeman7 -------------------------------------------------------People keeping order at their stuff are just too lazy to search anything...Test these:Easy-to-use notepad Link to comment Share on other sites More sharing options...
Valuater Posted February 27, 2007 Share Posted February 27, 2007 Welcome to the forums... ( first three post are here ) Nice job with your first post(s) and the Script notepad using XSkin and a ContextMenu 8) Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted February 27, 2007 Moderators Share Posted February 27, 2007 Hope you don't compile that under the name "Notepad.exe" . Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
James Posted February 27, 2007 Share Posted February 27, 2007 Lol, I could see what would be happening then:I compiled my script Notepad.au3 and it has removed the Windows Notepad and replaced it with mine. Why has it done this and how can I fix it? Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ Link to comment Share on other sites More sharing options...
freeman7 Posted February 28, 2007 Author Share Posted February 28, 2007 (edited) Welcome to the forums... ( first three post are here )Nice job with your first post(s) and the Script notepad using XSkin and a ContextMenu8)Thanks Edited February 28, 2007 by freeman7 -------------------------------------------------------People keeping order at their stuff are just too lazy to search anything...Test these:Easy-to-use notepad Link to comment Share on other sites More sharing options...
freeman7 Posted February 28, 2007 Author Share Posted February 28, 2007 (edited) Lol, I could see what would be happening then:I'm ok with that. This code comes inside some tray program I'm creating... Edited February 28, 2007 by freeman7 -------------------------------------------------------People keeping order at their stuff are just too lazy to search anything...Test these:Easy-to-use notepad Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now