moving text around on a pc - ehMac.ca
Facebook
Twitter
YouTube
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
Old Dec 14th, 2005, 03:47 AM   #1
Honourable Citizen
 
csonni's Avatar
 
Join Date: Feb 2001
Location: Goose Bay, Labrador, Canada
Posts: 4,955
moving text around on a pc

moving text around on a pcI know this isn't a Mac thing, but I think so much of you guys. Is there any quicker way of putting the data into its proper place (from the notepad text document) rather than clicking and backspacing with each line? For what I have to do, this will take forever. Obviously dragging over an entire line and backspacing will delete the entire line of data. Or is some special text editor needed? Any hints? Below is a bit of the text I am dealing with (all the text above has to be moved in line with the text below- actually, after previewing this post, the text line above is much farther apart than appears in this post.):

17 11 2005 19 55 31.0 68 21.7 29.623 3 3 248.8
17 11 2005 20 5 30.6 69 21.6 29.622 3 3 248.8
csonni is offline   Reply With Quote
Sponsored Links
Advertisement
 
Old Dec 14th, 2005, 06:41 AM   #2
New Neighbour
 
relyk's Avatar
 
Join Date: Nov 2005
Location: Ottawa
Posts: 22
If you're looking to align text then in any word processing application (Word, TextEdit, etc..) you should pick a fixed-width font. Most fonts are variable width (ie. the 'i' character takes up less space than the 'w' character).

The most famous of the fixed width fonts is courrier [new].

Depending on what you need it for you could also use Excel/OpenOffice - import with space as a delimiter -- first removing all extra spaces by opening it in TextEdit and doing a replace of ' ' with ' ' (replace two spaces with one space). Then you will have columns of the numbers.
relyk is offline   Reply With Quote
Old Dec 14th, 2005, 02:16 PM   #3
Full Citizen
 
harrytse's Avatar
 
Join Date: Nov 2005
Location: Vancouver
Posts: 261
maybe i'm not understanding the problem, but I don't see why it can't be through cut and paste?
__________________
MacBook Revision D : 2.0 GHz Intel Merom Core 2 Duo : 4 GB RAM 80 GB SMS HDD : Combo Drive
PowerBook G4 12" Revision E : 1.5 GHz PowerPC G4 : 768 MB RAM : 80 GB SMS HDD : 8x SuperDrive
Mac mini Revision B : 1.33 GHz PowerPC G4 : 512 MB RAM : 5400 RPM 40 GB HDD : Combo Drive
Mac OS X Tiger 10.5.2 : iLife : iWork : Apple Remote Desktop : .mac : Wireless Mighty Mouse
harrytse is offline   Reply With Quote
Old Dec 14th, 2005, 02:29 PM   #4
Honourable Citizen
 
csonni's Avatar
 
Join Date: Feb 2001
Location: Goose Bay, Labrador, Canada
Posts: 4,955
The programmer of the particular program just told me that the text does not have to line up. Cut and paste has nothing to do with the equation- the myriads of text I imported is the same data that exists except there is much more spacing in between each data item.
csonni is offline   Reply With Quote
Old Dec 14th, 2005, 11:06 PM   #5
Honourable Citizen
 
Gerbill's Avatar
 
Join Date: Jul 2003
Location: Surrey, BC
Posts: 2,455
Quote:
Originally Posted by csonni
The programmer of the particular program just told me that the text does not have to line up. Cut and paste has nothing to do with the equation- the myriads of text I imported is the same data that exists except there is much more spacing in between each data item.
I'm not sure what you want, but if it's just a matter of removing spaces, any word processor will do a Find-and-Replace for the space character. For example, the program I use for this kind of chore is BBEdit 8.2. If I wanted to remove all instances of more than one space between words, I'd just tell the program to find
<< space >><< space >> and replace with << space >>. Repeat a few times and everything would be fixed. Virtually any word processor or text processor will do the same, even a Windows one.
__________________
"I don't know the key to success, but the key to failure is trying to please everybody."
- Bill Cosby
Gerbill is offline   Reply With Quote
Old Dec 15th, 2005, 12:11 AM   #6
On Vacation
 
MACSPECTRUM's Avatar
 
Join Date: Oct 2002
Posts: 14,050
Quote:
Originally Posted by relyk
If you're looking to align text then in any word processing application (Word, TextEdit, etc..) you should pick a fixed-width font. Most fonts are variable width (ie. the 'i' character takes up less space than the 'w' character).

The most famous of the fixed width fonts is courrier [new].

Depending on what you need it for you could also use Excel/OpenOffice - import with space as a delimiter -- first removing all extra spaces by opening it in TextEdit and doing a replace of ' ' with ' ' (replace two spaces with one space). Then you will have columns of the numbers.

Monaco is better for numbers.
MACSPECTRUM is offline   Reply With Quote
Old Dec 16th, 2005, 04:34 PM   #7
Full Citizen
 
Join Date: May 2005
Posts: 165
not sure if I understand what you want to accomplish, but here's my 2 cents...why not try to use tabs in your wordprocessor? That way you don't even need to use a monospaced font.
Jet_Star is offline   Reply With Quote
Old Dec 16th, 2005, 09:47 PM   #8
Full Citizen
 
phobic's Avatar
 
Join Date: May 2005
Location: Windsor, On
Posts: 173
I used to have to manipulate client databases supplied in excel format. I'd save out as tab-delimited text, then place into Quark Xpress, or any other application which displays 'invisible' characters (believe Word does this too but I despise Word).

You can then do a search and replace for any individual attribute - only glitch is that it has to be unique - can't search for only certain spaces, it's either all or none.
__________________

Unibody Macbook 13" 2.4ghz, 4gb RAM, 250gb HD.

The iPhone Cafe
My Personal Site
phobic is offline   Reply With Quote
Reply

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding a PC to my Mac network idextrus Anything Mac 6 Dec 7th, 2005 06:49 PM
Using my PC as an external hard drive? the_hammer Mac, iPhone, iPad and iPod Help & Troubleshooting 6 Aug 28th, 2005 10:06 AM
Moving email from a PC to a Mac Mini GratuitousApplesauce Mac, iPhone, iPad and iPod Help & Troubleshooting 4 Aug 19th, 2005 03:07 AM
Buying Advice- Have to add a PC... Snubnose Anything Mac 12 Aug 15th, 2005 07:14 PM
Multi-page text (OCR) scanner Bjornbro Anything Mac 1 Apr 25th, 2005 02:58 PM


All times are GMT -4. The time now is 08:06 AM.



Copyright 1999 - 2012, ehMac.ca All rights reserved. ehMac is not affiliated with Apple Inc. Mac, iPod, iTunes, iPhone, Apple TV are trademarks of Apple Inc. Content Relevant URLs by vBSEO 3.6.0 RC 2

Tribe.ca: Urban living in Toronto!