AutoHotkey Community

It is currently May 23rd, 2012, 4:19 am

All times are UTC [ DST ]


Search found 10 matches
Search these results:

Author Message

 Forum: Support   Topic: Simple file count and output question

Posted: January 7th, 2010, 11:41 pm 

Replies: 1
Views: 342


I am not a smart man but I am great at copy-paste. Here is the easy question: What is a script that will count files in a given folder and then open a text file and send "there are X files in this folder"? I know I need to use file-loop and A_index but I can't get it to work. This is why I...

 Forum: Scripts   Topic: Library for Text file manipulation

Posted: August 13th, 2008, 2:33 am 

Replies: 50
Views: 13259


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:\TestFile.txt", "4", "InsertThis", "2", "2") TXT_ColPut(...

 Forum: Support   Topic: Easy CSV to Flat File conversion question...for geniuses.

Posted: August 13th, 2008, 2:25 am 

Replies: 9
Views: 665


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 that that the placing is correct. placing something like %csv_4% %csv_5% will only result in the csv_5 ...

 Forum: Support   Topic: Easy CSV to Flat File conversion question...for geniuses.

Posted: August 12th, 2008, 9:12 pm 

Replies: 9
Views: 665


Are you saying that I cannot make my output be 951 spaces out?

 Forum: Support   Topic: Easy CSV to Flat File conversion question...for geniuses.

Posted: August 12th, 2008, 8:52 pm 

Replies: 9
Views: 665


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 that was what you expected. Do you know of any limits to ahk that would stop me from making one of my o...

 Forum: Support   Topic: Easy CSV to Flat File conversion question...for geniuses.

Posted: August 12th, 2008, 6:18 pm 

Replies: 9
Views: 665


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 stringmid derive the startcolumn input point. I am pretty slow and I may be reading it incorrectly, also....

 Forum: Support   Topic: Easy CSV to Flat File conversion question...for geniuses.

Posted: August 11th, 2008, 9:09 pm 

Replies: 9
Views: 665


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 last 260 columns just the first 3. ,"form1[0].Associate[0]","form1[0].Chain[0]",&q...

 Forum: Scripts   Topic: Library for Text file manipulation

 Post subject: nevermind
Posted: August 8th, 2008, 7:34 pm 

Replies: 50
Views: 13259


nevermind, I got it. thanks.

 Forum: Scripts   Topic: Library for Text file manipulation

Posted: August 8th, 2008, 7:25 pm 

Replies: 50
Views: 13259


Code:
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) and append that info to it.

Thanks Guest for pointing out that I was missing the quotes, also.

 Forum: Scripts   Topic: Library for Text file manipulation

Posted: August 8th, 2008, 5:51 pm 

Replies: 50
Views: 13259


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 name supposed to go? I am trying to get the lines for "c:\appdata.txt" Regardless of where and how I...
Sort by:  
Page 1 of 1 [ Search found 10 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group