• 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: Determine if a Word Document is New or Saved
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determine if a Word Document is New or Saved


  • Subject: Re: Determine if a Word Document is New or Saved
  • From: <email@hidden>
  • Date: Fri, 14 Dec 2007 12:59:47 -0800 (PST)

Every Word document has a "saved" property that returns a boolean:

tell application "Microsoft Word"
saved of document 1
--> false
saved of document "My.doc"
--> true
end tell

HTH,
Stan C.

Thanks for the info on the "saved" state.  This is close to what I need, but the issue is finding out if the document has ever been saved (i.e. open a new document, its named document1.  It has never been saved.  It seems "saved" will just tell you if there has been a change since the last time the document was saved.

Any ideas on how I can get closer?

thanks in advance!

Brian

 _______________________________________________
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: Determine if a Word Document is New or Saved
      • From: Stan Cleveland <email@hidden>
  • Prev by Date: Re: Excel 2004
  • Next by Date: Re: Determine if a Word Document is New or Saved
  • Previous by thread: Re: Determine if a Word Document is New or Saved
  • Next by thread: Re: Determine if a Word Document is New or Saved
  • Index(es):
    • Date
    • Thread