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

Microsoft word


  • Subject: Microsoft word
  • From: Peter Baxter <email@hidden>
  • Date: Tue, 7 Aug 2007 06:41:59 +1000

Hi,

I am writing an applescript that checks filemaker databases for spelling and grammar using Microsoft Word.  It works perfectly, however I want it to work on other staff computers without having to set it up for them first.  To do this, I must create a file called "Grammar Checker" if it is missing.  This should be dead easy, but its 6:00-am and I've been working at other aspects of this database all night and I just can't get it to work. 

tell application "Finder"
if not (exists (document file "/Applications/Microsoft Office 2004/Grammar Checker.doc")) then
tell application "Microsoft Word"
activate
make new document at "/Applications/Microsoft Office 2004" with properties {name:"Grammar Checker.doc"}
end tell
end if
end tell

Why not?

Naturally, the common people don't want war, but after all, it is the leaders of a country who determine the policy, and it is always a simple matter to drag people along whether it is a democracy, or a fascist dictatorship, or a parliament, or a communist dictatorship. Voice or no voice, the people can always be brought to the bidding of the leaders. This is easy. All you have to do is tell them they are being attacked, and denounce the pacifists for lack of patriotism and exposing the country to danger. It works the same in every country. -Hermann Goering


Peter Baxter
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

  • Prev by Date: Re: Resize Image in Photoshop
  • Next by Date: Re: Microsoft word
  • Previous by thread: Re: Resize Image in Photoshop
  • Next by thread: Re: Microsoft word
  • Index(es):
    • Date
    • Thread