• 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
TextEdit Save Problem (Thomas Maffucci)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TextEdit Save Problem (Thomas Maffucci)


  • Subject: TextEdit Save Problem (Thomas Maffucci)
  • From: Thomas Maffucci <email@hidden>
  • Date: Wed, 23 Jan 2013 17:01:20 -0500
  • Thread-topic: TextEdit Save Problem (Thomas Maffucci)

Thanks Brian for your prompt rely but I am sorry to say but right out of the
box your suggestion failed.
I am still unable to save the text due to permission problems.
I am running 10.8.2. I understand that with 10.7 there were big changes to
the dialog box of textedit and the ability to save temp changes to a
permanent file. I have a whole system of scripts that rely heavy on screen
scraping and saving the info in plain text files. Which are later filtered
to various data bases. I need a Solid solution for what appears to be a
Mountainous problem (yes the pun is intended)!!


Your suggestion:

set ptd to path to desktop
set getpage to "This is a test"


tell application "TextEdit"

    set filelst to {"FedMangrealtxt"}
    --{"AmCentPosBal", "AmCentrealtxt"}


    repeat with File_item in filelst
        activate
        set Tithdr to File_item
        make new document at the front
        set the text of the front document to getpage as text
        save the front document in (ptd & "Work:" & Tithdr as text)
        close the front document saving no
    end repeat
    --delay 3


    open (ptd & "Work:" & Tithdr & ".rtf" as text)
end tell


 _______________________________________________
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: TextEdit Save Problem (Thomas Maffucci)
      • From: Christopher Stone <email@hidden>
    • Re: TextEdit Save Problem (Thomas Maffucci)
      • From: Michael Ghilissen <email@hidden>
    • Re: TextEdit Save Problem (Thomas Maffucci)
      • From: Brian Christmas <email@hidden>
  • Prev by Date: Re: Writing Mailbox Behaviors
  • Next by Date: Re: TextEdit Save Problem (Thomas Maffucci)
  • Previous by thread: Re: TextEdit Save Problem
  • Next by thread: Re: TextEdit Save Problem (Thomas Maffucci)
  • Index(es):
    • Date
    • Thread