Welcome Guest.   Make a donation to an author on the site July 30, 2014, 08:12:36 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Your Support Funds this Site: View the Supporter Yearbook.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: Prev 1 [2]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Finished Coding Snack: Organize Text  (Read 15317 times)
kalos
Member
**
Posts: 996

View Profile Give some DonationCredits to this forum member
« Reply #25 on: July 19, 2010, 04:08:11 PM »

skwire works on an AHK script that does this very well, hope he will post his work soon

ebs that looks very interesting, not sure how it works though
Logged
skwire
Moderator
*****
Posts: 4,021



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #26 on: July 24, 2010, 07:52:17 PM »

Here's what kalos and I came up with.  "Text Targets" is the name. 

Download

Features
  • Unicode compatible.  The app can read UTF-16 or UTF-8 files.  Target files are written in UTF-8.
  • Select up to thirty target files.
  • Each target file can have its own hotkey.  Spacebar skips a line.

Workflow
  • Choose a source file.
  • Set destination/target files.
  • Click Start.
  • The "Line" field will then show the first line of the source file.
  • At this point, you can choose a target file for the line or simply skip it.
  • After choosing a target file or skipping, the next line is shown and so on until you click Stop or reach the end of the source file.
  • Lines that were sent to a target file are removed from the source file once Stop is clicked or the end of the file is reached.  Skipped lines remain in the source file.

Logged

mouser
First Author
Administrator
*****
Posts: 33,183



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #27 on: July 24, 2010, 08:10:53 PM »

nice work ebs and skwire  thumbs up
Logged
nogojoe
Charter Member
***
Posts: 136


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #28 on: July 25, 2010, 05:45:51 AM »

Here's what kalos and I came up with.  "Text Targets" is the name. 

Download


Features
  • Unicode compatible.  The app can read UTF-16 or UTF-8 files.  Target files are written in UTF-8.
  • Select up to thirty target files.
  • Each target file can have its own hotkey.  Spacebar skips a line.

Workflow
  • Choose a source file.
  • Set destination/target files.
  • Click Start.
  • The "Line" field will then show the first line of the source file.
  • At this point, you can choose a target file for the line or simply skip it.
  • After choosing a target file or skipping, the next line is shown and so on until you click Stop or reach the end of the source file.
  • Lines that were sent to a target file are removed from the source file once Stop is clicked or the end of the file is reached.  Skipped lines remain in the source file.
(see attachment in previous post)

Hi Skwire.

had a try with this AHK   and I find that my target file gets  put in at the beginning of the 1st line.
also the hotkeys aren't being saved just been using control 1  control 2 in trying this out.

nogojoe
Logged

Often the most convincing people are those who have lost the plot so much they don't recognize the difference between fact and fantasy
skwire
Moderator
*****
Posts: 4,021



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #29 on: July 25, 2010, 02:23:03 PM »

had a try with this AHK   and I find that my target file gets  put in at the beginning of the 1st line.
also the hotkeys aren't being saved just been using control 1  control 2 in trying this out.

Crap, I must've broken the hotkey saving at some point.  It should be fixed now so please re-download.  As for your other issue, I'm going to guess it has something to do with AHK_L's Unicode handling and my lack of Unicode programming experience  cheesy.  Would you mind sending me one of those files, please?
« Last Edit: July 25, 2010, 02:29:30 PM by skwire » Logged

skwire
Moderator
*****
Posts: 4,021



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #30 on: July 25, 2010, 06:15:52 PM »

Uploaded another build that should fix an issue where the source file wasn't re-written properly after clicking stop.

Download
Logged

ha14
Participant
*
Posts: 268

View Profile Give some DonationCredits to this forum member
« Reply #31 on: August 13, 2010, 02:08:29 PM »

Hi

Nice one thanks.
Logged
skwire
Moderator
*****
Posts: 4,021



Another Coding Snack request? Om nom nom...

see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #32 on: August 13, 2010, 02:25:27 PM »

You're welcome.  I'm glad you find it useful.
Logged

calikoala
Participant
*
Posts: 1


View Profile Give some DonationCredits to this forum member
« Reply #33 on: June 09, 2011, 08:12:07 PM »

kalos,

I have a need for a program like this from time to time. I've been too lazy to write one, but your request made me finally go ahead and do it.
How about this?
 (see attachment in previous post)
It's pretty simple to use:
1. Open your input file and each line is displayed in the top list.

2. Specify your output filenames in the bottom list. You can have up to 36 output files, corresponding to tags "0" to "9" and "A" to "Z".
    Files (and the necessary folders) are created if they don't exist. You can choose to overwrite or append to existing files.

3. Tag each line of the input file for the desired output file by pressing the appropriate key.
    The highlight automatically moves down the list as each line is tagged. You can use the Shift or Ctrl key to tag multiple lines.
    If you enter an incorrect tag, just select the line (or lines) and enter the new tag.

4. When you're done tagging input lines, click the "Write Files" button and your tagged lines will be written to the specified output files.

I've got the basic application written, but I want to add the ability to save output filenames,
so they don't have to be re-entered (if you use the same files each time).

If this would be useful, I would be glad to contribute it when I'm done - let me know.

EBS,  did you make this program available?   I would like to use it...
Logged
Paul Keith
Member
**
Posts: 1,965


see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #34 on: September 15, 2011, 11:41:22 AM »

I know necro-posting is looked down upon but it finally dawned on me how radical Text Targets is. (Note that I haven't downloaded the program so I'm not sure I get this correctly.)

This thing, in concept, would arguably be the fastest GTD Weekly Review processor for any .txt GTD softwae set-up that was ever invented.

You could literally quick capture every task in Anuran, mass-export the archives via AnuVu..., send the text to this program...create several .txts like @Work, or @PC, or Someday/Maybe and then line by line send these tasks in one full scroll without ever having to be overloaded by all the tasks in front of you. Wow!

Consider my head blown. This is the first app that made me regret not using GTD anymore.
Logged

<reserve space for the day DC can auto-generate your signature from your personal PopUp Wisdom quotes>
kalos
Member
**
Posts: 996

View Profile Give some DonationCredits to this forum member
« Reply #35 on: September 15, 2011, 01:10:12 PM »

I know necro-posting is looked down upon but it finally dawned on me how radical Text Targets is. (Note that I haven't downloaded the program so I'm not sure I get this correctly.)

This thing, in concept, would arguably be the fastest GTD Weekly Review processor for any .txt GTD softwae set-up that was ever invented.

You could literally quick capture every task in Anuran, mass-export the archives via AnuVu..., send the text to this program...create several .txts like @Work, or @PC, or Someday/Maybe and then line by line send these tasks in one full scroll without ever having to be overloaded by all the tasks in front of you. Wow!

Consider my head blown. This is the first app that made me regret not using GTD anymore.

not sure I understood your post, but I agree this app is a masterpiece
Logged
Paul Keith
Member
**
Posts: 1,965


see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #36 on: September 15, 2011, 01:39:04 PM »

Well, my post is directed at my understanding of GTD. If you are not familiar w/ GTD, then that's where the misunderstanding comes from.

If you are familiar with GTD however but still misunderstood, maybe you can point out which section of my post confused you and I'll do my best to expand on it.
Logged

<reserve space for the day DC can auto-generate your signature from your personal PopUp Wisdom quotes>
Pages: Prev 1 [2]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.042s | Server load: 0.2 ]