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: Stan Cleveland <email@hidden>
- Date: Fri, 14 Dec 2007 12:17:36 -0800
- Thread-topic: Determine if a Word Document is New or Saved
On 12/14/07 11:46 AM, email@hidden wrote:
> Is anybody familiar to a way to determine if a document in word is a new
> document (unsaved) or has been previously saved? I have looked through the
> word suit, but I can't find a way to determine that.
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.
_______________________________________________
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