• 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
Re: shameless begging
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shameless begging


  • Subject: Re: shameless begging
  • From: Michelle Steiner <email@hidden>
  • Date: Thu, 21 Sep 2006 07:21:35 -0700

On Sep 21, 2006, at 4:44 AM, Tom Burke wrote:

I have a plain-text TextEdit file with N lines of ascii text. I need to write each of these N lines into its own file, using a file name based on the first few symbols on the respective line.

I think that this should do it for you; I didn't test it, though.

It prompts you to choose the source file and the folder in which to save the resulting files; it defaults to the desktop for both prompts. Don't forget that the choose folder dialog allows you to create a new folder if that's what you need in order to store the new files.

It creates the files' names from the first five characters of the line; if the line has fewer than five characters, it uses the entire line.

-- Michelle

--
If you always reach your goals, you set the bar too low. If you never reach your goals, you set the bar too high.


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: shameless begging
      • From: Michelle Steiner <email@hidden>
References: 
 >iCal Script (From: "Jesse Almanrode - JA Computing" <email@hidden>)
 >shameless begging (From: Tom Burke <email@hidden>)

  • Prev by Date: Re: List MOM, et al.
  • Next by Date: Re: shameless begging
  • Previous by thread: Re: shameless begging
  • Next by thread: Re: shameless begging
  • Index(es):
    • Date
    • Thread