Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jan 25th, 2006, 8:53 PM   #1
AICkieran
Programmer
 
Join Date: Jan 2006
Location: UK
Posts: 55
Rep Power: 3 AICkieran is on a distinguished road
Hello :-)

This may sound a bit jumbled but........

I get pissed with text files EVERYWHERE, My idea is to have like a global hotkey that when pressed will grab the highlighted text in any window and put it into an SQLite DB, or an xml file. Does anyone else think this is a good idea? Which you can later access the text with a simple client and from there save > print > export to a PDF, other random crud.

I would like to hear peoples opinions, Would it be worth spending the time on, Do you think people other than myself will use it? Do you think its a stupid idea? any problems i may run into?

Thanks

kieran

:banana:
AICkieran is offline   Reply With Quote
Old Jan 25th, 2006, 9:42 PM   #2
jayme
Professional Programmer
 
jayme's Avatar
 
Join Date: Nov 2005
Location: Canada
Posts: 495
Rep Power: 0 jayme is an unknown quantity at this point
Send a message via MSN to jayme
Wouldn't highlighting all the text files, right clicking on one and selecting "Open with..." have the same affect? Or do you mean put all the text files into one file?
__________________

Quote:
Originally Posted by Mohamed Jihad
Durka durka!
Due to incorrect calculations during the middle ages, our calendar actually begins a few years after Jesus' birth. Thus the real 6/6/6 happened a few years back. The world already ended and you missed it.

Download Code::Blocks now!
jayme is offline   Reply With Quote
Old Jan 26th, 2006, 9:36 AM   #3
AICkieran
Programmer
 
Join Date: Jan 2006
Location: UK
Posts: 55
Rep Power: 3 AICkieran is on a distinguished road
Quote:
Originally Posted by jayme
Wouldn't highlighting all the text files, right clicking on one and selecting "Open with..." have the same affect? Or do you mean put all the text files into one file?
into one file or database. Database probibally the best option. Just sick of seeing them all over the place :-)
AICkieran is offline   Reply With Quote
Old Jan 26th, 2006, 10:11 AM   #4
jayme
Professional Programmer
 
jayme's Avatar
 
Join Date: Nov 2005
Location: Canada
Posts: 495
Rep Power: 0 jayme is an unknown quantity at this point
Send a message via MSN to jayme
I would be able to do it if i knew more about managing windows files. It would be as simple as copying the file to a string and appending it to a single text file then deleting the file being copied. I guess you could use a wildcard to select all the text files, but unless the program asked for input, the user would have to copy all the files to be combined, into a specific folder which not everyone would have. Some people have one C drive, some people have one D drive..

I'm going to try this out, i'll post back once i'm done. It most likely won't be done in a database, probably just a text file. I haven't worked with any databases yet.
__________________

Quote:
Originally Posted by Mohamed Jihad
Durka durka!
Due to incorrect calculations during the middle ages, our calendar actually begins a few years after Jesus' birth. Thus the real 6/6/6 happened a few years back. The world already ended and you missed it.

Download Code::Blocks now!
jayme is offline   Reply With Quote
Old Jan 26th, 2006, 1:13 PM   #5
AICkieran
Programmer
 
Join Date: Jan 2006
Location: UK
Posts: 55
Rep Power: 3 AICkieran is on a distinguished road
Quote:
Originally Posted by jayme
I would be able to do it if i knew more about managing windows files. It would be as simple as copying the file to a string and appending it to a single text file then deleting the file being copied. I guess you could use a wildcard to select all the text files, but unless the program asked for input, the user would have to copy all the files to be combined, into a specific folder which not everyone would have. Some people have one C drive, some people have one D drive..

I'm going to try this out, i'll post back once i'm done. It most likely won't be done in a database, probably just a text file. I haven't worked with any databases yet.
It will be more complicated than that, thats the point it doesnt ask for input, You just highlight the text and press say F5 (user can define the hotkey) i just need to find an efficient way to do this. Im not talking about just copying text files to a database, its for say i go onto this site and theres a code snippet i wanna save i highlight press F5 and it goes into a database, hopefully it will solve the problem of text files everywhere.
AICkieran is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 11:43 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC