• 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
Save text to file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Save text to file


  • Subject: Save text to file
  • From: BigKM <email@hidden>
  • Date: Thu, 5 Jan 2006 12:59:02 +1000

I want to put the variable theText into a text file.

normally for something simple i would use
do shell script "echo "& theText & " > ~/file.txt"
but i want to stay away from the shell script on this one.

i came across this but with big paragraphs it gets a bit ahead of it's self.
	tell process "TextEdit" to keystroke theText & return

also could someone explain the "with data" of the make command as that
sounds like what im looking for but i couldn't get the syntax write.

Thanks
Kim Hunter
 _______________________________________________
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: Save text to file
      • From: Gil Dawson <email@hidden>
  • Prev by Date: Is Script Editor 2.0 latest?
  • Next by Date: Re: Save text to file
  • Previous by thread: Re: Is Script Editor 2.0 latest?
  • Next by thread: Re: Save text to file
  • Index(es):
    • Date
    • Thread