• 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 Word 2011
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scripting Word 2011


  • Subject: Scripting Word 2011
  • From: Deivy Petrescu <email@hidden>
  • Date: Thu, 15 Nov 2012 13:53:49 -0500

I am getting a strange error scripting Word 11 in ML.



tell application "Microsoft Word"
	return count of documents
end tell

---error "Microsoft Word got an error: every document doesn’t understand the count message." number -1708 from every document

Actually every use of the word "document" eventually leads to an error.

It works in W2008.

The use of "base document" instead of document does not give an error but it also does not count properly.

What gives?

Deivy Petrescu
email@hidden




 _______________________________________________
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 Word 2011
      • From: Barry Wainwright <email@hidden>
  • Prev by Date: Re: file references
  • Next by Date: Re: file references
  • Previous by thread: Re: file references
  • Next by thread: Re: Scripting Word 2011
  • Index(es):
    • Date
    • Thread