• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
TexEdit script - a longshoot
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TexEdit script - a longshoot


  • Subject: TexEdit script - a longshoot
  • From: "email@hidden" <email@hidden>
  • Date: Thu, 29 Mar 2001 17:41:57 +0200

Hi all,

This is a longshoot, but I hope someone has a answer or a few hints.

I have scripted TexEdit before but I4m not what some call a "guru" at
Applescript. So before I ruin my sleep I hope someone have done this before.

My problem is that a server generates a lot of textfiles, these files will
be imported into Filemaker. The problem is that the files uses returns after
each sentence instead of a tab. This means that one textfile generates a lot
of records instead of only one then being imported into Filemaker.

So I want a script that changes the return to tab.

Any clues or hints?

Best regards
Peter


The content of the textfile to modify:

Payment Information
-------------------
Payment Method: Purchase Order
Number: 001
Company: aaaaaaa

Billing Information
-------------------
Name: aaaaaa

Shipping Information
--------------------
Name: aaaaaaa

Product Information
--------------------
Quantity: 1
Product ID: ad2 A4 GB.pdf
Name: ad2 A4 GB
Total Price: $50.00

Quantity: 1
Product ID: ad2 A4 GB.pdf
Name: ad2 A4 GB
Total Price: $50.00

Subtotal: $100.00
Tax: $0.00
Shipping: $0.00
Total: $100.00


  • Follow-Ups:
    • Re: TexEdit script - a longshoot
      • From: "Christopher C. Stone" <email@hidden>
References: 
 >AS 1.6 (From: Robert Poland <email@hidden>)

  • Prev by Date: AS 1.6
  • Next by Date: Re: AS 1.6
  • Previous by thread: AS 1.6
  • Next by thread: Re: TexEdit script - a longshoot
  • Index(es):
    • Date
    • Thread