behdadsoft Posted October 23, 2014 Share Posted October 23, 2014 Hi. I Used _FileReadToArray Function for read a text contain. then I want write them to a text file with _FileWriteFromArray but don't write any thin in text file. Please Guide Me. #RequireAdmin #include <File.au3> ; Local Var Local $CreateList = @ScriptDir & "\List.txt" Local $ReadPath = @DesktopDir & "\Sample.txt" Local $Array = 0 Local $ReadList = _FileReadToArray ($ReadPath,$Array,0) _ArrayDisplay ($Array) _FileWriteFromArray ($CreateList,$ReadList,1) Link to comment Share on other sites More sharing options...
Solution Danyfirex Posted October 23, 2014 Solution Share Posted October 23, 2014 Look: #RequireAdmin #include <File.au3> Local $CreateList = @ScriptDir & "\sample.txt" Local $ReadPath = @DesktopDir & "\list.txt" Local $Array=0 _FileReadToArray($ReadPath , $Array) _ArrayDisplay ($Array) _FileWriteFromArray ($CreateList,$Array,1) Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
behdadsoft Posted October 23, 2014 Author Share Posted October 23, 2014 Thanks Danyfirex. Link to comment Share on other sites More sharing options...
Danyfirex Posted October 23, 2014 Share Posted October 23, 2014 (edited) Mark as answered. You're welcome. Saludos Edited October 23, 2014 by Danyfirex Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut 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