AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 9 matches
AutoHotkey Community Forum Index
Author Message
  Topic: Library for Text file manipulation
Originalsim

Replies: 43
Views: 4461

PostForum: Scripts & Functions   Posted: Wed Aug 13, 2008 1:33 am   Subject: Library for Text file manipulation
Hi, give this a few test whirls to see if suits your needs.


This works exactly for what I am working on.
But I would like to be able to run multiple input's.

If I do:
TXT_ColPut("c& ...
  Topic: Easy CSV to Flat File conversion question...for geniuses.
Originalsim

Replies: 9
Views: 276

PostForum: Ask for Help   Posted: Wed Aug 13, 2008 1:25 am   Subject: Easy CSV to Flat File conversion question...for geniuses.
That works great and would probably fit the bill for 99% of everyone but not my needs, surprise surprise!

With this code, you have to know the lengths of the data that are going into each csv_x so ...
  Topic: Easy CSV to Flat File conversion question...for geniuses.
Originalsim

Replies: 9
Views: 276

PostForum: Ask for Help   Posted: Tue Aug 12, 2008 8:12 pm   Subject: Easy CSV to Flat File conversion question...for geniuses.
Are you saying that I cannot make my output be 951 spaces out?
  Topic: Easy CSV to Flat File conversion question...for geniuses.
Originalsim

Replies: 9
Views: 276

PostForum: Ask for Help   Posted: Tue Aug 12, 2008 7:52 pm   Subject: Easy CSV to Flat File conversion question...for geniuses.
Holy crap that's nearly perfect!

Am I doing something wrong, because when I run this it pulls the header names not the values. I realise that I can just change the csv_number, but I was curious if ...
  Topic: Easy CSV to Flat File conversion question...for geniuses.
Originalsim

Replies: 9
Views: 276

PostForum: Ask for Help   Posted: Tue Aug 12, 2008 5:18 pm   Subject: Easy CSV to Flat File conversion question...for geniuses.
Thanks,
But my main problem is how to put the data into the specific spaces or columns of my flat text file.

Reading the colput function leaves me confused. I don't understand how stringleft and ...
  Topic: Easy CSV to Flat File conversion question...for geniuses.
Originalsim

Replies: 9
Views: 276

PostForum: Ask for Help   Posted: Mon Aug 11, 2008 8:09 pm   Subject: Easy CSV to Flat File conversion question...for geniuses.
Hello and thanks for your time in looking at this.
I have csv files that are created from the export command in adobe acrobat 8 pro. they look like this in notepad++ only but I haven't included the l ...
  Topic: Library for Text file manipulation
Originalsim

Replies: 43
Views: 4461

PostForum: Scripts & Functions   Posted: Fri Aug 08, 2008 6:34 pm   Subject: nevermind
nevermind, I got it. thanks.
  Topic: Library for Text file manipulation
Originalsim

Replies: 43
Views: 4461

PostForum: Scripts & Functions   Posted: Fri Aug 08, 2008 6:25 pm   Subject: Library for Text file manipulation
MsgBox % TXT_TotalLines("c:\appdata.txt")

that works and gives me the total count but I thought that this library was supposed to make a copy of the file (appdata_copy.txt) an ...
  Topic: Library for Text file manipulation
Originalsim

Replies: 43
Views: 4461

PostForum: Scripts & Functions   Posted: Fri Aug 08, 2008 4:51 pm   Subject: Library for Text file manipulation
Could someone please point me to what I am missing.
I load this library up correctly and then make an .ahk with the following contents.

TXT_TotalLines(Textfile)


Where is my textfile n ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group