Re: Determine if a Word Document is New or Saved
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