• 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
Scripting TextEdit and saving a file without user intervention
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scripting TextEdit and saving a file without user intervention


  • Subject: Scripting TextEdit and saving a file without user intervention
  • From: Peter Schwenk <email@hidden>
  • Date: Fri, 9 Mar 2007 11:21:22 -0500

I've got a situation where I want to construct an RTF document in TextEdit and save it all without user intervention.  In the TextEdit dictionary there's a save command that takes "in" (to specify the destination) and "as" (to specify the type to save as) clauses.  These clauses seem to be ignored as the Save dialog pops up anyway.  What's the proper way to programmatically save a file when applescripting TextEdit?  Thanks in advance for your help.

--
- Peter Schwenk
- CITA-3, Systems Administrator
- Mathematical Sciences
- University of Delaware
- (302) 831-0437
- schwenk _at_ math _dot_ udel _dot_ edu
- http://www.math.udel.edu/~schwenk


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Scripting TextEdit and saving a file without user intervention
      • From: Laine Lee <email@hidden>
  • Prev by Date: Re: Global variables
  • Next by Date: Re: how to do a proper alphabetical sort?
  • Previous by thread: Re: List size limit
  • Next by thread: Re: Scripting TextEdit and saving a file without user intervention
  • Index(es):
    • Date
    • Thread